From bc7f4fe38400d762072ad7ac1951d724ef329e12 Mon Sep 17 00:00:00 2001 From: Jack251970 <1160210343@qq.com> Date: Sat, 1 Mar 2025 22:29:14 +0800 Subject: [PATCH] Improve text area --- Flow.Launcher.Core/Plugin/JsonRPCPluginSettings.cs | 4 ++-- .../Views/ExplorerSettings.xaml | 8 ++++---- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/Flow.Launcher.Core/Plugin/JsonRPCPluginSettings.cs b/Flow.Launcher.Core/Plugin/JsonRPCPluginSettings.cs index 0729fba42..69934e9f4 100644 --- a/Flow.Launcher.Core/Plugin/JsonRPCPluginSettings.cs +++ b/Flow.Launcher.Core/Plugin/JsonRPCPluginSettings.cs @@ -325,8 +325,8 @@ namespace Flow.Launcher.Core.Plugin { var textBox = new TextBox() { - MaxHeight = 150, - MinWidth = SettingPanelTextBlockMinWidth, + MinHeight = 150, + MinWidth = 240, HorizontalAlignment = HorizontalAlignment.Left, VerticalAlignment = VerticalAlignment.Center, Margin = SettingPanelItemLeftTopBottomMargin, diff --git a/Plugins/Flow.Launcher.Plugin.Explorer/Views/ExplorerSettings.xaml b/Plugins/Flow.Launcher.Plugin.Explorer/Views/ExplorerSettings.xaml index e525c84ad..a5e5f6007 100644 --- a/Plugins/Flow.Launcher.Plugin.Explorer/Views/ExplorerSettings.xaml +++ b/Plugins/Flow.Launcher.Plugin.Explorer/Views/ExplorerSettings.xaml @@ -358,8 +358,8 @@ Grid.Row="15" Grid.Column="0" Grid.ColumnSpan="2" - MinWidth="{StaticResource SettingPanelTextBlockMinWidth}" - MaxHeight="150" + MinWidth="240" + MinHeight="150" Margin="{StaticResource SettingPanelItemTopBottomMargin}" HorizontalAlignment="Left" AcceptsReturn="True" @@ -378,8 +378,8 @@ Grid.Row="17" Grid.Column="0" Grid.ColumnSpan="2" - MinWidth="{StaticResource SettingPanelTextBlockMinWidth}" - MaxHeight="150" + MinWidth="240" + MinHeight="150" Margin="{StaticResource SettingPanelItemTopBottomMargin}" HorizontalAlignment="Left" AcceptsReturn="True"