|
7 | 7 | Background="White"
|
8 | 8 | d:DesignHeight="300" d:DesignWidth="500"
|
9 | 9 | DataContext="{Binding RelativeSource={RelativeSource Self}}">
|
10 |
| - <Grid> |
| 10 | + <Grid Margin="10"> |
11 | 11 | <Grid.RowDefinitions>
|
12 | 12 | <RowDefinition Height="50" />
|
13 | 13 | <RowDefinition Height="80"/>
|
14 | 14 | <RowDefinition Height="auto"/>
|
15 | 15 | </Grid.RowDefinitions>
|
16 | 16 | <StackPanel>
|
17 |
| - <Grid Grid.Row="0" Margin="40 20 0 0"> |
| 17 | + <Grid Grid.Row="0" Margin="30 20 0 0"> |
18 | 18 | <Grid.ColumnDefinitions>
|
19 | 19 | <ColumnDefinition Width="160" />
|
20 | 20 | <ColumnDefinition Width="140"/>
|
21 | 21 | <ColumnDefinition Width="100"/>
|
22 | 22 | </Grid.ColumnDefinitions>
|
23 | 23 | <Label Grid.Column="0" Content="{DynamicResource flowlauncher_plugin_browserbookmark_settings_openBookmarks}"
|
24 |
| - FontSize="15" Margin="0 5 0 0"/> |
| 24 | + FontSize="15" Margin="10 5 0 0"/> |
25 | 25 | <RadioButton Grid.Column="1" Name="NewWindowBrowser" GroupName="OpenSearchBehaviour"
|
26 | 26 | Content="{DynamicResource flowlauncher_plugin_browserbookmark_settings_newWindow}"
|
27 | 27 | Click="OnNewBrowserWindowClick" />
|
|
30 | 30 | Click="OnNewTabClick" />
|
31 | 31 | </Grid>
|
32 | 32 | </StackPanel>
|
33 |
| - <StackPanel Orientation="Horizontal" VerticalAlignment="Top" Grid.Row="1" Height="60" Margin="25,13,0,0"> |
| 33 | + <StackPanel Orientation="Horizontal" VerticalAlignment="Top" Grid.Row="1" Height="60" Margin="30,20,0,0"> |
34 | 34 | <Label Content="{DynamicResource flowlauncher_plugin_browserbookmark_settings_setBrowserFromPath}"
|
35 | 35 | Height="28" Margin="10"/>
|
36 | 36 | <TextBox x:Name="BrowserPathBox"
|
|
44 | 44 | <Button x:Name="ViewButton" Content="{DynamicResource flowlauncher_plugin_browserbookmark_settings_choose}"
|
45 | 45 | HorizontalAlignment="Left" Margin="10" Width="100" Height="30" Click="OnChooseClick" FontSize="14" />
|
46 | 46 | </StackPanel>
|
47 |
| - <StackPanel Grid.Row="2" Orientation="Vertical"> |
48 |
| - <TextBlock Text="CustomBrowsers" Margin="10"/> |
| 47 | + <StackPanel Grid.Row="2" Orientation="Vertical" Margin="30,20,0,0"> |
| 48 | + <TextBlock Text="{DynamicResource flowlauncher_plugin_browserbookmark_loadBrowserFrom}" Margin="10"/> |
49 | 49 | <ListView Grid.Row="2" ItemsSource="{Binding Settings.CustomChromiumBrowsers}"
|
50 | 50 | SelectedItem="{Binding SelectedCustomBrowser}"
|
51 | 51 | Margin="10"
|
|
57 | 57 | MouseDoubleClick="MouseDoubleClickOnSelectedCustomBrowser">
|
58 | 58 | <ListView.View>
|
59 | 59 | <GridView>
|
60 |
| - <GridViewColumn DisplayMemberBinding="{Binding Name, Mode=OneWay}" Header="Browser Name"/> |
61 |
| - <GridViewColumn DisplayMemberBinding="{Binding DataDirectoryPath, Mode=OneWay}" Header="DataDirectoryPath"/> |
| 60 | + <GridViewColumn DisplayMemberBinding="{Binding Name, Mode=OneWay}" Header="{DynamicResource flowlauncher_plugin_browserbookmark_browserName}"/> |
| 61 | + <GridViewColumn DisplayMemberBinding="{Binding DataDirectoryPath, Mode=OneWay}" Header="{DynamicResource flowlauncher_plugin_browserbookmark_browserBookmarkDataDirectory}"/> |
62 | 62 | </GridView>
|
63 | 63 | </ListView.View>
|
64 | 64 | </ListView>
|
65 | 65 | <StackPanel HorizontalAlignment="Right" Orientation="Horizontal">
|
66 |
| - <Button Content="Add Custom Browser" Margin="10" Click="NewCustomBrowser"/> |
67 |
| - <Button Content="Delete Custom Browser" Margin="10" Click="DeleteCustomBrowser"/> |
| 66 | + <Button Content="{DynamicResource flowlauncher_plugin_browserbookmark_addBrowserBookmark}" Margin="10" Click="NewCustomBrowser"/> |
| 67 | + <Button Content="{DynamicResource flowlauncher_plugin_browserbookmark_removeBrowserBookmark}" Margin="10" Click="DeleteCustomBrowser"/> |
68 | 68 | </StackPanel>
|
69 | 69 | </StackPanel>
|
70 | 70 | </Grid>
|
|
0 commit comments