Skip to content

Commit 087df51

Browse files
committed
Changed ActionKeywordWindow to Responsive (Explorer Plugin)
1 parent 66a4d7a commit 087df51

File tree

1 file changed

+8
-6
lines changed

1 file changed

+8
-6
lines changed

Plugins/Flow.Launcher.Plugin.Explorer/Views/ActionKeywordSetting.xaml

Lines changed: 8 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -6,12 +6,13 @@
66
xmlns:local="clr-namespace:Flow.Launcher.Plugin.Explorer.Views"
77
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
88
Title="{DynamicResource plugin_explorer_manageactionkeywords_header}"
9-
Width="400"
10-
SizeToContent="Height"
9+
Width="Auto"
10+
Height="255"
1111
Background="{DynamicResource PopuBGColor}"
1212
DataContext="{Binding RelativeSource={RelativeSource Self}}"
1313
Foreground="{DynamicResource PopupTextColor}"
1414
ResizeMode="NoResize"
15+
SizeToContent="Width"
1516
WindowStartupLocation="CenterScreen"
1617
mc:Ignorable="d">
1718
<WindowChrome.WindowChrome>
@@ -68,7 +69,7 @@
6869

6970
<StackPanel Margin="0,10,0,0" Orientation="Horizontal">
7071
<TextBlock
71-
Width="150"
72+
MinWidth="150"
7273
Margin="0,10,15,10"
7374
HorizontalAlignment="Left"
7475
VerticalAlignment="Center"
@@ -78,18 +79,19 @@
7879
Name="TxtCurrentActionKeyword"
7980
Grid.Row="0"
8081
Grid.Column="1"
81-
Width="105"
82+
Width="135"
8283
HorizontalAlignment="Left"
8384
VerticalAlignment="Center"
8485
PreviewKeyDown="TxtCurrentActionKeyword_OnKeyDown"
8586
Text="{Binding ActionKeyword}" />
8687
</StackPanel>
8788
<StackPanel Margin="0,10,0,15" Orientation="Horizontal">
88-
<TextBlock Margin="0 0 15 0 "
89+
<TextBlock
90+
MinWidth="150"
91+
Margin="0,0,18,0"
8992
HorizontalAlignment="Left"
9093
VerticalAlignment="Center"
9194
FontSize="14"
92-
Width="150"
9395
Text="{DynamicResource plugin_explorer_actionkeyword_enabled}" />
9496
<CheckBox
9597
Name="ChkActionKeywordEnabled"

0 commit comments

Comments
 (0)