Resolve "Component: Translation" #73

Merged
thorsten merged 23 commits from 12-component-translation into main 2022-09-21 20:53:39 +00:00
Showing only changes of commit 1d72212f87 - Show all commits

View File

@ -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;
}