|
5 | 5 | xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
|
6 | 6 | xmlns:local="clr-namespace:Flow.Launcher.Plugin.BrowserBookmark.Models"
|
7 | 7 | mc:Ignorable="d"
|
8 |
| - Title="CustomBrowserSetting" Height="450" Width="600" |
| 8 | + WindowStartupLocation="CenterScreen" |
| 9 | + Title="CustomBrowserSetting" Height="350" Width="600" |
9 | 10 | KeyDown="WindowKeyDown"
|
10 | 11 | >
|
11 | 12 | <Window.DataContext>
|
12 | 13 | <local:CustomBrowser/>
|
13 | 14 | </Window.DataContext>
|
14 | 15 | <Grid>
|
15 | 16 | <Grid.RowDefinitions>
|
16 |
| - <RowDefinition/> |
17 |
| - <RowDefinition/> |
18 |
| - <RowDefinition/> |
| 17 | + <RowDefinition Height="100"/> |
| 18 | + <RowDefinition Height="100"/> |
| 19 | + <RowDefinition Height="60"/> |
19 | 20 | </Grid.RowDefinitions>
|
20 | 21 | <Grid.ColumnDefinitions>
|
21 | 22 | <ColumnDefinition Width="4*"/>
|
22 | 23 | <ColumnDefinition Width="6*"/>
|
23 | 24 | </Grid.ColumnDefinitions>
|
24 | 25 | <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"/> |
26 | 27 | <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"/> |
28 | 29 | <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"/> |
30 | 31 | <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"> |
33 | 34 | <Button Content="Confirm" Margin="15" Click="ConfirmEditCustomBrowser"/>
|
34 | 35 | <Button Content="Cancel" Margin="15"/>
|
35 | 36 | </StackPanel>
|
|
0 commit comments