|
5 | 5 | xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
|
6 | 6 | xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
|
7 | 7 | Title="{DynamicResource flowlauncher_plugin_program_directory}"
|
8 |
| - Width="530" |
| 8 | + Width="Auto" |
| 9 | + Height="276" |
9 | 10 | Background="{DynamicResource PopuBGColor}"
|
10 | 11 | Foreground="{DynamicResource PopupTextColor}"
|
11 | 12 | ResizeMode="NoResize"
|
12 |
| - SizeToContent="Height" |
| 13 | + SizeToContent="Width" |
13 | 14 | WindowStartupLocation="CenterScreen">
|
14 | 15 | <WindowChrome.WindowChrome>
|
15 | 16 | <WindowChrome CaptionHeight="32" ResizeBorderThickness="{x:Static SystemParameters.WindowResizeBorderThickness}" />
|
|
69 | 70 | TextAlignment="Left"
|
70 | 71 | TextWrapping="WrapWithOverflow" />
|
71 | 72 | </StackPanel>
|
72 |
| - |
73 |
| - <StackPanel Margin="0,10,0,0" Orientation="Horizontal"> |
74 |
| - <Grid Width="470"> |
| 73 | + |
| 74 | + <StackPanel Margin="0,10,10,0" Orientation="Horizontal"> |
| 75 | + <Grid> |
75 | 76 | <Grid.RowDefinitions>
|
76 | 77 | <RowDefinition />
|
77 | 78 | <RowDefinition />
|
|
88 | 89 | VerticalAlignment="Center"
|
89 | 90 | FontSize="14"
|
90 | 91 | Text="{DynamicResource flowlauncher_plugin_program_directory}" />
|
91 |
| - <DockPanel |
92 |
| - Grid.Row="0" |
93 |
| - Grid.Column="1" |
| 92 | + <DockPanel |
| 93 | + Grid.Row="0" |
| 94 | + Grid.Column="1" |
94 | 95 | LastChildFill="True">
|
95 | 96 | <Button
|
96 |
| - Width="70" |
97 |
| - HorizontalAlignment="Right" |
| 97 | + MinWidth="70" |
| 98 | + HorizontalAlignment="Stretch" |
98 | 99 | Click="BrowseButton_Click"
|
99 |
| - DockPanel.Dock="Right" |
100 |
| - Content="{DynamicResource flowlauncher_plugin_program_browse}" /> |
| 100 | + Content="{DynamicResource flowlauncher_plugin_program_browse}" |
| 101 | + DockPanel.Dock="Right" /> |
101 | 102 | <TextBox
|
102 | 103 | Name="Directory"
|
| 104 | + MinWidth="300" |
103 | 105 | Margin="10"
|
104 |
| - VerticalAlignment="Center" |
105 |
| - HorizontalAlignment="Stretch" /> |
| 106 | + HorizontalAlignment="Stretch" |
| 107 | + VerticalAlignment="Center" /> |
106 | 108 | </DockPanel>
|
107 | 109 | <TextBlock
|
108 | 110 | Grid.Row="1"
|
|
112 | 114 | VerticalAlignment="Center"
|
113 | 115 | FontSize="14"
|
114 | 116 | Text="{DynamicResource flowlauncher_plugin_program_enabled}" />
|
115 |
| - <CheckBox x:Name="Chkbox" |
| 117 | + <CheckBox |
| 118 | + x:Name="Chkbox" |
116 | 119 | Grid.Row="1"
|
117 | 120 | Grid.Column="1"
|
118 | 121 | Margin="10,0"
|
|
0 commit comments