Skip to content

Commit e85a99f

Browse files
committed
fix custom browser setting window positioning of controls
1 parent f73fc9a commit e85a99f

File tree

1 file changed

+10
-9
lines changed

1 file changed

+10
-9
lines changed

Plugins/Flow.Launcher.Plugin.BrowserBookmark/Views/CustomBrowserSetting.xaml

Lines changed: 10 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -5,31 +5,32 @@
55
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
66
xmlns:local="clr-namespace:Flow.Launcher.Plugin.BrowserBookmark.Models"
77
mc:Ignorable="d"
8-
Title="CustomBrowserSetting" Height="450" Width="600"
8+
WindowStartupLocation="CenterScreen"
9+
Title="CustomBrowserSetting" Height="350" Width="600"
910
KeyDown="WindowKeyDown"
1011
>
1112
<Window.DataContext>
1213
<local:CustomBrowser/>
1314
</Window.DataContext>
1415
<Grid>
1516
<Grid.RowDefinitions>
16-
<RowDefinition/>
17-
<RowDefinition/>
18-
<RowDefinition/>
17+
<RowDefinition Height="100"/>
18+
<RowDefinition Height="100"/>
19+
<RowDefinition Height="60"/>
1920
</Grid.RowDefinitions>
2021
<Grid.ColumnDefinitions>
2122
<ColumnDefinition Width="4*"/>
2223
<ColumnDefinition Width="6*"/>
2324
</Grid.ColumnDefinitions>
2425
<TextBlock Grid.Row="0" Grid.Column="0" Text="Browser Name" FontSize="15"
25-
HorizontalAlignment="Left" VerticalAlignment="Center"/>
26+
HorizontalAlignment="Left" VerticalAlignment="Center" Margin="80 0 0 0"/>
2627
<TextBlock Grid.Row="1" Grid.Column="0" Text="Browser Data Directory Path" FontSize="15"
27-
HorizontalAlignment="Left" VerticalAlignment="Center"/>
28+
HorizontalAlignment="Left" VerticalAlignment="Center" Margin="80 0 0 0"/>
2829
<TextBox Grid.Row="0" Grid.Column="1" Text="{Binding Name}"
29-
HorizontalAlignment="Left" VerticalAlignment="Center" Width="100" Height="30"/>
30+
HorizontalAlignment="Left" VerticalAlignment="Center" Width="100" Height="30" Margin="50 0 0 0"/>
3031
<TextBox Grid.Row="1" Grid.Column="1" Text="{Binding DataDirectoryPath}"
31-
HorizontalAlignment="Left" VerticalAlignment="Center" Width="200" Height="30"/>
32-
<StackPanel HorizontalAlignment="Right" Grid.Row="2" Orientation="Horizontal" Grid.Column="1" Height="60">
32+
HorizontalAlignment="Left" VerticalAlignment="Center" Width="200" Height="30" Margin="50 0 0 0"/>
33+
<StackPanel HorizontalAlignment="Center" Grid.Row="2" Orientation="Horizontal" Grid.Column="1" Height="70">
3334
<Button Content="Confirm" Margin="15" Click="ConfirmEditCustomBrowser"/>
3435
<Button Content="Cancel" Margin="15"/>
3536
</StackPanel>

0 commit comments

Comments
 (0)