|
10 | 10 | Width="550"
|
11 | 11 | Background="{DynamicResource PopuBGColor}"
|
12 | 12 | DataContext="{Binding RelativeSource={RelativeSource Self}}"
|
| 13 | + FontFamily="{Binding SettingWindowFont, Mode=TwoWay}" |
13 | 14 | Foreground="{DynamicResource PopupTextColor}"
|
14 | 15 | ResizeMode="NoResize"
|
15 | 16 | SizeToContent="Height"
|
|
54 | 55 | </Button>
|
55 | 56 | </Grid>
|
56 | 57 | </StackPanel>
|
57 |
| - <StackPanel Margin="26,12,26,0"> |
58 |
| - <StackPanel Margin="0,0,0,12"> |
| 58 | + <StackPanel Margin="26 12 26 0"> |
| 59 | + <StackPanel Margin="0 0 0 12"> |
59 | 60 | <TextBlock
|
60 | 61 | Grid.Column="0"
|
61 |
| - Margin="0,0,0,0" |
| 62 | + Margin="0 0 0 0" |
62 | 63 | FontSize="20"
|
63 | 64 | FontWeight="SemiBold"
|
64 | 65 | Text="{DynamicResource defaultBrowserTitle}"
|
|
73 | 74 | </StackPanel>
|
74 | 75 |
|
75 | 76 |
|
76 |
| - <StackPanel Margin="14,28,0,0" Orientation="Horizontal"> |
| 77 | + <StackPanel Margin="14 28 0 0" Orientation="Horizontal"> |
77 | 78 | <TextBlock
|
78 | 79 | Grid.Column="1"
|
79 | 80 | HorizontalAlignment="Left"
|
|
84 | 85 | Name="comboBox"
|
85 | 86 | Height="35"
|
86 | 87 | MinWidth="200"
|
87 |
| - Margin="14,0,0,0" |
| 88 | + Margin="14 0 0 0" |
88 | 89 | HorizontalAlignment="Left"
|
89 | 90 | VerticalAlignment="Center"
|
90 | 91 | ItemsSource="{Binding CustomBrowsers}"
|
|
96 | 97 | </ComboBox.ItemTemplate>
|
97 | 98 | </ComboBox>
|
98 | 99 | <Button
|
99 |
| - Margin="10,0,0,0" |
| 100 | + Margin="10 0 0 0" |
100 | 101 | Click="btnAdd_Click"
|
101 | 102 | Content="{DynamicResource add}" />
|
102 | 103 | <Button
|
103 |
| - Margin="10,0,0,0" |
| 104 | + Margin="10 0 0 0" |
104 | 105 | Click="btnDelete_Click"
|
105 | 106 | Content="{DynamicResource delete}"
|
106 | 107 | IsEnabled="{Binding CustomBrowser.Editable}" />
|
107 | 108 |
|
108 | 109 | </StackPanel>
|
109 | 110 | <Rectangle
|
110 | 111 | Height="1"
|
111 |
| - Margin="0,20,0,12" |
| 112 | + Margin="0 20 0 12" |
112 | 113 | Fill="{DynamicResource SeparatorForeground}" />
|
113 | 114 | <StackPanel
|
114 |
| - Margin="0,0,0,0" |
| 115 | + Margin="0 0 0 0" |
115 | 116 | HorizontalAlignment="Stretch"
|
116 | 117 | DataContext="{Binding CustomBrowser}"
|
117 | 118 | Orientation="Horizontal">
|
|
129 | 130 | <TextBlock
|
130 | 131 | Grid.Row="0"
|
131 | 132 | Grid.Column="0"
|
132 |
| - Margin="14,5,10,0" |
| 133 | + Margin="14 5 10 0" |
133 | 134 | HorizontalAlignment="Left"
|
134 | 135 | VerticalAlignment="Center"
|
135 | 136 | FontSize="14"
|
|
139 | 140 | Grid.Row="0"
|
140 | 141 | Grid.Column="1"
|
141 | 142 | Width="Auto"
|
142 |
| - Margin="10,5,0,0" |
| 143 | + Margin="10 5 0 0" |
143 | 144 | HorizontalAlignment="Stretch"
|
144 | 145 | VerticalAlignment="Center"
|
145 | 146 | IsEnabled="{Binding Editable}"
|
146 | 147 | Text="{Binding Name}" />
|
147 | 148 | <TextBlock
|
148 | 149 | Grid.Row="1"
|
149 | 150 | Grid.Column="0"
|
150 |
| - Margin="14,10,0,0" |
| 151 | + Margin="14 10 0 0" |
151 | 152 | HorizontalAlignment="Left"
|
152 | 153 | VerticalAlignment="Center"
|
153 | 154 | FontSize="14"
|
|
159 | 160 | LastChildFill="True">
|
160 | 161 | <Button
|
161 | 162 | Name="btnBrowseFile"
|
162 |
| - Margin="0,10,0,0" |
| 163 | + Margin="0 10 0 0" |
163 | 164 | HorizontalAlignment="Right"
|
164 | 165 | VerticalAlignment="Center"
|
165 | 166 | Click="btnBrowseFile_Click"
|
|
177 | 178 | </Button>
|
178 | 179 | <TextBox
|
179 | 180 | x:Name="PathTextBox"
|
180 |
| - Margin="10,10,5,0" |
| 181 | + Margin="10 10 5 0" |
181 | 182 | HorizontalAlignment="Stretch"
|
182 | 183 | VerticalAlignment="Center"
|
183 | 184 | IsEnabled="{Binding Editable}"
|
|
187 | 188 | <StackPanel
|
188 | 189 | Grid.Row="2"
|
189 | 190 | Grid.Column="1"
|
190 |
| - Margin="14,10,14,0" |
| 191 | + Margin="14 10 14 0" |
191 | 192 | HorizontalAlignment="Left"
|
192 | 193 | VerticalAlignment="Center"
|
193 | 194 | Orientation="Horizontal">
|
194 |
| - <RadioButton IsChecked="{Binding OpenInTab}" |
195 |
| - Content="{DynamicResource defaultBrowser_newTab}"></RadioButton> |
196 |
| - <RadioButton IsChecked="{Binding OpenInNewWindow, Mode=OneTime}" |
197 |
| - Content="{DynamicResource defaultBrowser_newWindow}"></RadioButton> |
| 195 | + <RadioButton Content="{DynamicResource defaultBrowser_newTab}" IsChecked="{Binding OpenInTab}" /> |
| 196 | + <RadioButton Content="{DynamicResource defaultBrowser_newWindow}" IsChecked="{Binding OpenInNewWindow, Mode=OneTime}" /> |
198 | 197 | </StackPanel>
|
199 | 198 | <TextBlock
|
200 | 199 | Grid.Row="3"
|
201 | 200 | Grid.Column="0"
|
202 |
| - Margin="14,10,0,20" |
| 201 | + Margin="14 10 0 20" |
203 | 202 | HorizontalAlignment="Left"
|
204 | 203 | VerticalAlignment="Center"
|
205 | 204 | FontSize="14"
|
206 | 205 | Text="{DynamicResource defaultBrowser_parameter}" />
|
207 | 206 | <StackPanel
|
208 | 207 | Grid.Row="3"
|
209 | 208 | Grid.Column="1"
|
210 |
| - Margin="0,10,0,15" |
| 209 | + Margin="0 10 0 15" |
211 | 210 | HorizontalAlignment="Stretch"
|
212 | 211 | VerticalAlignment="Center"
|
213 | 212 | Orientation="Horizontal">
|
214 | 213 | <TextBox
|
215 | 214 | x:Name="fileArgTextBox"
|
216 | 215 | Width="180"
|
217 |
| - Margin="10,0,0,0" |
| 216 | + Margin="10 0 0 0" |
218 | 217 | Text="{Binding PrivateArg}" />
|
219 | 218 | <CheckBox
|
220 |
| - Margin="12,0,0,0" |
| 219 | + Margin="12 0 0 0" |
221 | 220 | VerticalAlignment="Center"
|
222 | 221 | IsChecked="{Binding EnablePrivate}">
|
223 | 222 | <CheckBox.Style>
|
|
239 | 238 | Grid.Row="1"
|
240 | 239 | Background="{DynamicResource PopupButtonAreaBGColor}"
|
241 | 240 | BorderBrush="{DynamicResource PopupButtonAreaBorderColor}"
|
242 |
| - BorderThickness="0,1,0,0"> |
| 241 | + BorderThickness="0 1 0 0"> |
243 | 242 | <StackPanel HorizontalAlignment="Center" Orientation="Horizontal">
|
244 | 243 | <Button
|
245 | 244 | x:Name="btnCancel"
|
246 | 245 | Width="145"
|
247 |
| - Margin="0,0,5,0" |
| 246 | + Margin="0 0 5 0" |
248 | 247 | Click="btnCancel_Click"
|
249 | 248 | Content="{DynamicResource cancel}" />
|
250 | 249 | <Button
|
251 | 250 | x:Name="btnDone"
|
252 | 251 | Width="145"
|
253 |
| - Margin="5,0,0,0" |
| 252 | + Margin="5 0 0 0" |
254 | 253 | Click="btnDone_Click"
|
255 | 254 | Content="{DynamicResource done}"
|
256 | 255 | ForceCursor="True"
|
|
0 commit comments