From c35ddbc2d91275aab52b6709d1c44f446c41fa5a Mon Sep 17 00:00:00 2001 From: Kevin Zhang Date: Sun, 14 Nov 2021 21:19:32 -0600 Subject: [PATCH] add ability to add new line in textarea --- Flow.Launcher.Core/Plugin/JsonRPCPlugin.cs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Flow.Launcher.Core/Plugin/JsonRPCPlugin.cs b/Flow.Launcher.Core/Plugin/JsonRPCPlugin.cs index 6d1d15d6c..7b28fa77c 100644 --- a/Flow.Launcher.Core/Plugin/JsonRPCPlugin.cs +++ b/Flow.Launcher.Core/Plugin/JsonRPCPlugin.cs @@ -400,9 +400,10 @@ namespace Flow.Launcher.Core.Plugin var textBox = new TextBox() { Width = 300, - Height = 100, + Height = 120, Margin = settingControlMargin, TextWrapping = TextWrapping.WrapWithOverflow, + AcceptsReturn = true, Text = Settings[attribute.Name] as string ?? string.Empty }; textBox.TextChanged += (sender, _) =>