|
6 | 6 | xmlns:local="clr-namespace:Flow.Launcher.Plugin.BrowserBookmark.Models"
|
7 | 7 | xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
|
8 | 8 | Title="{DynamicResource BookmarkDataSetting}"
|
9 |
| - Width="500" |
| 9 | + Width="520" |
10 | 10 | Background="{DynamicResource PopuBGColor}"
|
11 | 11 | Foreground="{DynamicResource PopupTextColor}"
|
12 | 12 | KeyDown="WindowKeyDown"
|
| 13 | + ResizeMode="NoResize" |
13 | 14 | SizeToContent="Height"
|
14 | 15 | WindowStartupLocation="CenterScreen"
|
15 | 16 | mc:Ignorable="d">
|
|
70 | 71 | TextAlignment="Left" />
|
71 | 72 | </StackPanel>
|
72 | 73 |
|
73 |
| - <StackPanel Margin="0,10,0,0" Orientation="Horizontal"> |
74 |
| - <TextBlock |
75 |
| - Width="140" |
76 |
| - HorizontalAlignment="Left" |
77 |
| - VerticalAlignment="Center" |
78 |
| - FontSize="14" |
79 |
| - Text="{DynamicResource flowlauncher_plugin_browserbookmark_browserName}" /> |
80 |
| - <TextBox |
81 |
| - Width="120" |
82 |
| - Height="30" |
83 |
| - Margin="50,0,0,0" |
84 |
| - HorizontalAlignment="Left" |
85 |
| - VerticalAlignment="Center" |
86 |
| - Text="{Binding Name}" /> |
87 |
| - </StackPanel> |
88 |
| - <StackPanel Margin="0,14,0,24" Orientation="Horizontal"> |
89 |
| - <TextBlock |
90 |
| - Width="140" |
91 |
| - HorizontalAlignment="Left" |
92 |
| - VerticalAlignment="Center" |
93 |
| - FontSize="14" |
94 |
| - Text="{DynamicResource flowlauncher_plugin_browserbookmark_browserBookmarkDataDirectory}" /> |
95 |
| - <TextBox |
96 |
| - Width="250" |
97 |
| - Height="30" |
98 |
| - Margin="50,0,0,0" |
99 |
| - HorizontalAlignment="Left" |
100 |
| - VerticalAlignment="Center" |
101 |
| - Text="{Binding DataDirectoryPath}" /> |
| 74 | + <StackPanel Margin="0,10,0,20" Orientation="Horizontal"> |
| 75 | + <Grid Width="444" HorizontalAlignment="Stretch"> |
| 76 | + <Grid.ColumnDefinitions> |
| 77 | + <ColumnDefinition MinWidth="120" /> |
| 78 | + <ColumnDefinition Width="*" /> |
| 79 | + </Grid.ColumnDefinitions> |
| 80 | + <Grid.RowDefinitions> |
| 81 | + <RowDefinition /> |
| 82 | + <RowDefinition /> |
| 83 | + </Grid.RowDefinitions> |
| 84 | + <TextBlock |
| 85 | + Grid.Row="0" |
| 86 | + Grid.Column="0" |
| 87 | + Margin="5,0,0,0" |
| 88 | + HorizontalAlignment="Left" |
| 89 | + VerticalAlignment="Center" |
| 90 | + FontSize="14" |
| 91 | + Text="{DynamicResource flowlauncher_plugin_browserbookmark_browserName}" /> |
| 92 | + <TextBox |
| 93 | + Grid.Row="0" |
| 94 | + Grid.Column="1" |
| 95 | + Width="120" |
| 96 | + Height="34" |
| 97 | + Margin="5,0,0,0" |
| 98 | + HorizontalAlignment="Left" |
| 99 | + VerticalAlignment="Center" |
| 100 | + Text="{Binding Name}" /> |
| 101 | + <TextBlock |
| 102 | + Grid.Row="1" |
| 103 | + Grid.Column="0" |
| 104 | + Margin="5,10,0,0" |
| 105 | + HorizontalAlignment="Left" |
| 106 | + VerticalAlignment="Center" |
| 107 | + FontSize="14" |
| 108 | + Text="{DynamicResource flowlauncher_plugin_browserbookmark_browserBookmarkDataDirectory}" /> |
| 109 | + <TextBox |
| 110 | + Grid.Row="1" |
| 111 | + Grid.Column="1" |
| 112 | + Height="34" |
| 113 | + Margin="5,10,0,0" |
| 114 | + HorizontalAlignment="Stretch" |
| 115 | + VerticalAlignment="Center" |
| 116 | + Text="{Binding DataDirectoryPath}" /> |
| 117 | + </Grid> |
102 | 118 | </StackPanel>
|
103 | 119 | </StackPanel>
|
104 | 120 | </StackPanel>
|
|
111 | 127 | <Button
|
112 | 128 | x:Name="btnCancel"
|
113 | 129 | Width="145"
|
114 |
| - Height="30" |
115 | 130 | Margin="0,0,5,0"
|
116 | 131 | Click="ConfirmCancelEditCustomBrowser"
|
117 | 132 | Content="{DynamicResource cancel}" />
|
118 | 133 | <Button
|
119 | 134 | Name="btnConfirm"
|
120 | 135 | Width="145"
|
121 |
| - Height="30" |
122 | 136 | Margin="5,0,0,0"
|
123 | 137 | Click="ConfirmCancelEditCustomBrowser"
|
124 | 138 | Style="{StaticResource AccentButtonStyle}">
|
|
0 commit comments