add ability to add new line in textarea

This commit is contained in:
Kevin Zhang 2021-11-14 21:19:32 -06:00
parent 5daf906832
commit c35ddbc2d9

View file

@ -400,9 +400,10 @@ namespace Flow.Launcher.Core.Plugin
var textBox = new TextBox() var textBox = new TextBox()
{ {
Width = 300, Width = 300,
Height = 100, Height = 120,
Margin = settingControlMargin, Margin = settingControlMargin,
TextWrapping = TextWrapping.WrapWithOverflow, TextWrapping = TextWrapping.WrapWithOverflow,
AcceptsReturn = true,
Text = Settings[attribute.Name] as string ?? string.Empty Text = Settings[attribute.Name] as string ?? string.Empty
}; };
textBox.TextChanged += (sender, _) => textBox.TextChanged += (sender, _) =>