Resolve "Component: Translation" #73
@ -44,9 +44,10 @@ public sealed partial class Translation : UserControl
|
|||||||
this.isLoading = true;
|
this.isLoading = true;
|
||||||
|
|
||||||
this.currentTranslationId = translation.Id;
|
this.currentTranslationId = translation.Id;
|
||||||
this.textBox.Multiline = translation.TextElement.IsMultiLine;
|
|
||||||
this.textBox.Text = translation.Text;
|
this.textBox.Text = translation.Text;
|
||||||
|
this.textBox.Multiline = translation.TextElement.IsMultiLine;
|
||||||
|
this.Height = translation.TextElement.IsMultiLine ? 280 : 106;
|
||||||
|
|
||||||
this.isLoading = false;
|
this.isLoading = false;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user