Skip to content

Commit c35ddbc

Browse files
committed
add ability to add new line in textarea
1 parent 5daf906 commit c35ddbc

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

Flow.Launcher.Core/Plugin/JsonRPCPlugin.cs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -400,9 +400,10 @@ public Control CreateSettingPanel()
400400
var textBox = new TextBox()
401401
{
402402
Width = 300,
403-
Height = 100,
403+
Height = 120,
404404
Margin = settingControlMargin,
405405
TextWrapping = TextWrapping.WrapWithOverflow,
406+
AcceptsReturn = true,
406407
Text = Settings[attribute.Name] as string ?? string.Empty
407408
};
408409
textBox.TextChanged += (sender, _) =>

0 commit comments

Comments
 (0)