Dynamical adjusts the height of the translation component
This commit is contained in:
parent
d521aca2f7
commit
1d72212f87
@ -44,9 +44,10 @@ public sealed partial class Translation : UserControl
|
||||
this.isLoading = true;
|
||||
|
||||
this.currentTranslationId = translation.Id;
|
||||
this.textBox.Multiline = translation.TextElement.IsMultiLine;
|
||||
this.textBox.Text = translation.Text;
|
||||
|
||||
this.textBox.Multiline = translation.TextElement.IsMultiLine;
|
||||
this.Height = translation.TextElement.IsMultiLine ? 280 : 106;
|
||||
|
||||
this.isLoading = false;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user