Skip to content

Commit bb038d2

Browse files
committed
Adjust Layout
1 parent c7eb4e2 commit bb038d2

File tree

1 file changed

+14
-12
lines changed

1 file changed

+14
-12
lines changed

Plugins/Flow.Launcher.Plugin.Program/AddProgramSource.xaml

Lines changed: 14 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -69,9 +69,9 @@
6969
TextAlignment="Left"
7070
TextWrapping="WrapWithOverflow" />
7171
</StackPanel>
72-
73-
<StackPanel Margin="0,10,0,0" Orientation="Horizontal">
74-
<Grid Width="470">
72+
73+
<StackPanel Margin="0,10,10,0" Orientation="Horizontal">
74+
<Grid>
7575
<Grid.RowDefinitions>
7676
<RowDefinition />
7777
<RowDefinition />
@@ -88,21 +88,22 @@
8888
VerticalAlignment="Center"
8989
FontSize="14"
9090
Text="{DynamicResource flowlauncher_plugin_program_directory}" />
91-
<DockPanel
92-
Grid.Row="0"
93-
Grid.Column="1"
91+
<DockPanel
92+
Grid.Row="0"
93+
Grid.Column="1"
9494
LastChildFill="True">
9595
<Button
96-
Width="70"
96+
MinWidth="70"
9797
HorizontalAlignment="Right"
9898
Click="BrowseButton_Click"
99-
DockPanel.Dock="Right"
100-
Content="{DynamicResource flowlauncher_plugin_program_browse}" />
99+
Content="{DynamicResource flowlauncher_plugin_program_browse}"
100+
DockPanel.Dock="Right" />
101101
<TextBox
102102
Name="Directory"
103+
MinWidth="280"
103104
Margin="10"
104-
VerticalAlignment="Center"
105-
HorizontalAlignment="Stretch" />
105+
HorizontalAlignment="Stretch"
106+
VerticalAlignment="Center" />
106107
</DockPanel>
107108
<TextBlock
108109
Grid.Row="1"
@@ -112,7 +113,8 @@
112113
VerticalAlignment="Center"
113114
FontSize="14"
114115
Text="{DynamicResource flowlauncher_plugin_program_enabled}" />
115-
<CheckBox x:Name="Chkbox"
116+
<CheckBox
117+
x:Name="Chkbox"
116118
Grid.Row="1"
117119
Grid.Column="1"
118120
Margin="10,0"

0 commit comments

Comments
 (0)