|
9 | 9 | mc:Ignorable="d"> |
10 | 10 |
|
11 | 11 | <RelativePanel> |
12 | | - <ScrollViewer VerticalScrollMode="Enabled" VerticalScrollBarVisibility="Visible"> |
13 | | - <Grid Background="{ThemeResource ApplicationPageBackgroundThemeBrush}" Margin="{StaticResource PageMargin}"> |
| 12 | + <ScrollViewer VerticalScrollMode="Enabled" VerticalScrollBarVisibility="Visible" x:Name="Main_ScrollViewer"> |
| 13 | + <Grid Background="{ThemeResource ApplicationPageBackgroundThemeBrush}" Margin="{StaticResource PageMargin}" MinHeight="917" MinWidth="637"> |
14 | 14 | <Grid.RowDefinitions> |
15 | 15 | <RowDefinition Height="Auto"/> |
16 | 16 | <RowDefinition Height="Auto"/> |
|
51 | 51 | Width="453" |
52 | 52 | Margin="0,0,15,0" |
53 | 53 | /> |
54 | | - <Button x:Name="PackageInfoButton" Content="Get Package Info"> |
| 54 | + <Button x:Name="PackageInfoButton" Content="Get Package Info" Margin="12,0,0,0"> |
55 | 55 |
|
56 | 56 | </Button> |
57 | 57 | </StackPanel> |
|
61 | 61 | <StackPanel Margin="{StaticResource SettingsSubheaderMargin}" Orientation="Horizontal"> |
62 | 62 | <TextBlock |
63 | 63 | ToolTipService.ToolTip="e.g. MyCompany.MySuite.MyApp" |
64 | | - Style="{StaticResource SubtitleTextBlockStyle}" FontSize="15" Margin="5" VerticalAlignment="Center"> |
| 64 | + Style="{StaticResource SubtitleTextBlockStyle}" FontSize="15" Margin="5" VerticalAlignment="Center" Width="185"> |
65 | 65 | <Run Text="Name" /> |
66 | 66 | <Run Text="*" Foreground="Red" /> |
67 | 67 | </TextBlock> |
|
73 | 73 | PlaceholderText="Package Name" |
74 | 74 | HorizontalAlignment="Left" |
75 | 75 | Width="400" |
76 | | - Margin="141,0,0,0" |
| 76 | + Margin="10,0,0,0" |
77 | 77 | /> |
78 | 78 | </StackPanel > |
79 | 79 |
|
80 | 80 | <StackPanel Margin="{StaticResource SettingsSubheaderMargin}" Orientation="Horizontal"> |
81 | 81 | <TextBlock |
82 | 82 | ToolTipService.ToolTip="e.g. 1.0.0.0" |
83 | | - Style="{StaticResource SubtitleTextBlockStyle}" Margin="5" FontSize="15" VerticalAlignment="Center" Windows10FallCreatorsUpdate:HorizontalTextAlignment="Right"> |
| 83 | + Style="{StaticResource SubtitleTextBlockStyle}" Margin="5" FontSize="15" VerticalAlignment="Center" Windows10FallCreatorsUpdate:HorizontalTextAlignment="Left" Width="185"> |
84 | 84 | <Run Text="Version" /> |
85 | 85 | <Run Text="*" Foreground="Red" /> |
86 | 86 | </TextBlock> |
|
93 | 93 | ToolTipService.ToolTip="e.g. 1.0.0.0" |
94 | 94 | HorizontalAlignment="Left" |
95 | 95 | Width="400" |
96 | | - Margin="132,0,0,0" |
| 96 | + Margin="10,0,0,0" |
97 | 97 | /> |
98 | 98 | </StackPanel> |
99 | 99 |
|
100 | 100 | <StackPanel Margin="{StaticResource SettingsSubheaderMargin}" Orientation="Horizontal"> |
101 | 101 | <TextBlock |
102 | 102 | ToolTipService.ToolTip="e.g. CN=janedoe" |
103 | | - Style="{StaticResource SubtitleTextBlockStyle}" FontSize="15" Margin="5" VerticalAlignment="Center"> |
| 103 | + Style="{StaticResource SubtitleTextBlockStyle}" FontSize="15" Margin="5" VerticalAlignment="Center" Width="185"> |
104 | 104 | <Run Text="Publisher" /> |
105 | 105 | <Run Text="*" Foreground="Red" /> |
106 | 106 | </TextBlock> |
|
112 | 112 | PlaceholderText="Publisher" |
113 | 113 | HorizontalAlignment="Left" |
114 | 114 | Width="400" |
115 | | - Margin="121,0,0,0" |
| 115 | + Margin="10,0,0,0" |
116 | 116 | /> |
117 | 117 | </StackPanel> |
118 | 118 |
|
119 | 119 | <StackPanel x:Name="Resource_Id_Stack_Panel" Margin="{StaticResource SettingsSubheaderMargin}" Orientation="Horizontal"> |
120 | 120 | <TextBlock |
121 | 121 | x:Uid="Resource_Id" |
122 | 122 | ToolTipService.ToolTip="e.g. English" |
123 | | - Style="{StaticResource SubtitleTextBlockStyle}" FontSize="15" Margin="5" VerticalAlignment="Center"> |
| 123 | + Style="{StaticResource SubtitleTextBlockStyle}" FontSize="15" Margin="5" VerticalAlignment="Center" Width="185"> |
124 | 124 | <Run Text="Resource Id"/> |
125 | 125 | </TextBlock> |
126 | 126 | <TextBox |
|
131 | 131 | PlaceholderText="Resource Id" |
132 | 132 | HorizontalAlignment="Left" |
133 | 133 | Width="400" |
134 | | - Margin="116,0,0,0" |
| 134 | + Margin="10,0,0,0" |
135 | 135 | /> |
136 | 136 | </StackPanel> |
137 | 137 |
|
138 | 138 | <StackPanel Margin="{StaticResource SettingsSubheaderMargin}" x:Name="Processor_Type_Stack_Panel" Orientation="Horizontal"> |
139 | 139 | <TextBlock |
140 | | - Style="{StaticResource SubtitleTextBlockStyle}" Margin="5" VerticalAlignment="Center" FontSize="15"> |
| 140 | + Style="{StaticResource SubtitleTextBlockStyle}" Margin="5" VerticalAlignment="Center" FontSize="15" Width="185"> |
141 | 141 | <Run Text="Processor Architecture Type" /> |
142 | 142 | </TextBlock> |
143 | 143 |
|
|
149 | 149 | PlaceholderText="Processor Architecture" |
150 | 150 | HorizontalAlignment="Left" |
151 | 151 | Width="400" |
152 | | - Margin="8,0,0,0" |
| 152 | + Margin="10,0,0,0" |
153 | 153 | /> |
154 | 154 | </StackPanel> |
155 | 155 |
|
156 | 156 | <StackPanel Margin="{StaticResource SettingsSubheaderMargin}" Orientation="Horizontal"> |
157 | 157 | <TextBlock |
158 | 158 | ToolTipService.ToolTip="e.g. C:\Users\JaneDoe\Desktop\MyApp.msix" |
159 | | - Style="{StaticResource SubtitleTextBlockStyle}" FontSize="15" Margin="5" VerticalAlignment="Center" |
| 159 | + Style="{StaticResource SubtitleTextBlockStyle}" FontSize="15" Margin="5" VerticalAlignment="Center" Width="185" |
160 | 160 | > |
161 | 161 | <Run Text="File Path" /> |
162 | 162 | <Run Text="*" Foreground="Red"/> |
|
169 | 169 | PlaceholderText="Enter the package URI" |
170 | 170 | ToolTipService.ToolTip="e.g. C:\Users\JaneDoe\Desktop\MyApp.msix" |
171 | 171 | HorizontalAlignment="Left" |
172 | | - Width="518" |
173 | | - Margin="8,0,0,0" |
| 172 | + Width="400" |
| 173 | + Margin="10,0,0,0" |
174 | 174 | /> |
175 | 175 | </StackPanel> |
176 | 176 | </StackPanel> |
177 | | - |
| 177 | + |
178 | 178 | <StackPanel Margin="{StaticResource SettingsSubheaderMargin}" Orientation="Horizontal"> |
179 | 179 | <TextBlock |
180 | 180 | x:Uid="Check_For_Updates" |
181 | | - Style="{StaticResource SubtitleTextBlockStyle}" Padding="1,0,0,0" FontSize="15" |
182 | | - Margin="5" VerticalAlignment="Center" |
| 181 | + Style="{StaticResource SubtitleTextBlockStyle}" FontSize="15" |
| 182 | + VerticalAlignment="Center" |
| 183 | + Margin="5" |
| 184 | + Width="185" |
183 | 185 | /> |
184 | 186 | <ToggleSwitch |
185 | 187 | x:Uid="Check_For_Updates_Switch" |
186 | 188 | x:Name="Check_For_Updates_Switch" |
187 | 189 | IsOn="{Binding IsCheckUpdates}" |
188 | 190 | Toggled="ToggleSwitch_Toggled" |
| 191 | + Margin="10,0,0,0" |
189 | 192 | /> |
190 | 193 | </StackPanel> |
191 | 194 |
|
192 | | - <StackPanel Margin="{StaticResource SettingsSubheaderMargin}" x:Name="Update_Settings_Stack_Panel"> |
193 | | - <StackPanel x:Name="Compatibility_Stack_Panel" Orientation="Horizontal"> |
| 195 | + <StackPanel x:Name="Update_Settings_Stack_Panel"> |
| 196 | + <StackPanel x:Name="Compatibility_Stack_Panel" Orientation="Horizontal" Margin="{StaticResource SettingsSubheaderMargin}"> |
194 | 197 | <TextBlock |
195 | 198 | x:Uid="compat_text_block" |
196 | 199 | Text="Min OS Version:" |
197 | 200 | Style="{StaticResource SubtitleTextBlockStyle}" FontSize="15" |
198 | 201 | Margin="5" VerticalAlignment="Center" |
199 | | - /> |
200 | | - <ComboBox x:Name="CompatComboBox" x:Uid="CompatComboBox" PlaceholderText="Choose the min Win10 OS version" ItemsSource="{x:Bind Schemas}" SelectionChanged="CompatComboBox_SelectionChanged"/> |
| 202 | + Width="185"/> |
| 203 | + <ComboBox x:Name="CompatComboBox" x:Uid="CompatComboBox" PlaceholderText="Choose the min Win10 OS version" ItemsSource="{x:Bind Path=Schemas}" SelectionChanged="CompatComboBox_SelectionChanged" Margin="10,0,0,0"/> |
201 | 204 | </StackPanel> |
202 | | - |
203 | | - <StackPanel Orientation="Horizontal" x:Name="One_Update_Settings_Stack_Panel" x:Uid="One_Update_Settings_Stack_Panel" Visibility="Collapsed"> |
204 | | - |
| 205 | + <StackPanel Orientation="Vertical" x:Name="One_Update_Settings_Stack_Panel" x:Uid="One_Update_Settings_Stack_Panel" Visibility="Collapsed"> |
205 | 206 | </StackPanel> |
206 | | - |
207 | | - <StackPanel Orientation="Horizontal" x:Name="Two_Update_Settings_Stack_Panel" x:Uid="Two_Update_Settings_Stack_Panel" Visibility="Collapsed"> |
208 | | - <TextBlock |
209 | | - x:Uid="Update_Frequency_Text_Block" |
210 | | - Text="Hours between update checks" |
211 | | - Style="{StaticResource SubtitleTextBlockStyle}" FontSize="15" |
212 | | - Margin="5" VerticalAlignment="Center" |
| 207 | + <StackPanel Orientation="Vertical" x:Name="Two_Update_Settings_Stack_Panel" x:Uid="Two_Update_Settings_Stack_Panel" Visibility="Collapsed"> |
| 208 | + <StackPanel Orientation="Horizontal" Margin="{StaticResource SettingsSubheaderMargin}"> |
| 209 | + <TextBlock x:Uid="Update_Frequency_Text_Block" |
| 210 | + Text="Hours between update checks" |
| 211 | + Style="{StaticResource SubtitleTextBlockStyle}" FontSize="15" |
| 212 | + Width="185" VerticalAlignment="Center" |
| 213 | + Margin="5" |
213 | 214 | /> |
214 | 215 | <TextBox |
215 | 216 | x:Uid="Hours_Between_Updates_Text_Box" |
216 | 217 | x:Name="Hours_Between_Updates_Text_Box" |
217 | 218 | PlaceholderText="12" |
218 | 219 | Width="70" |
219 | 220 | HorizontalAlignment="Left" |
220 | | - FontSize="15" Margin="5" VerticalAlignment="Center" |
| 221 | + FontSize="15" Margin="10,0,0,0" VerticalAlignment="Center" |
221 | 222 | /> |
222 | | - |
223 | | - <TextBlock Text="Auto background update" Style="{StaticResource SubtitleTextBlockStyle}" FontSize="15" |
224 | | - Margin="5" VerticalAlignment="Center" /> |
225 | | - <ToggleSwitch |
226 | | - Margin="21,0,0,0" |
| 223 | + </StackPanel> |
| 224 | + |
| 225 | + <StackPanel Orientation="Horizontal" Margin="{StaticResource SettingsSubheaderMargin}"> |
| 226 | + <TextBlock Text="Auto background update checks" Style="{StaticResource SubtitleTextBlockStyle}" FontSize="15" |
| 227 | + Width="185" Margin="5" |
| 228 | + VerticalAlignment="Center" /> |
| 229 | + <ToggleSwitch |
| 230 | + Margin="10,0,0,0" |
227 | 231 | x:Uid="Auto_Update_Switch" |
228 | 232 | x:Name="Auto_Update_Switch" |
229 | 233 | IsOn="{Binding IsAutoUpdate}" |
230 | 234 | Toggled="Auto_Update_Switch_Toggled" |
| 235 | + HorizontalAlignment="Right" |
231 | 236 | /> |
| 237 | + </StackPanel> |
232 | 238 | </StackPanel> |
233 | | - |
234 | | - <StackPanel Orientation="Horizontal" x:Name="Three_Update_Settings_Stack_Panel" x:Uid="Three_Update_Settings_Stack_Panel" Visibility="Collapsed"> |
235 | | - <TextBlock Text="Force update" Style="{StaticResource SubtitleTextBlockStyle}" FontSize="15" |
236 | | - Margin="5" VerticalAlignment="Center" /> |
237 | | - <ToggleSwitch |
238 | | - Margin="21,0,0,0" |
239 | | - x:Uid="Force_Update_Switch" |
240 | | - x:Name="Force_Update_Switch" |
241 | | - IsOn="{Binding IsForcedUpdate}" |
242 | | - Toggled="Force_Update_Switch_Toggled" |
243 | | - /> |
244 | | - |
245 | | - <TextBlock Text="Show prompt" Style="{StaticResource SubtitleTextBlockStyle}" FontSize="15" |
246 | | - Margin="5" VerticalAlignment="Center"/> |
247 | | - <ToggleSwitch |
248 | | - Margin="21,0,0,0" |
| 239 | + <StackPanel Orientation="Vertical" x:Name="Three_Update_Settings_Stack_Panel" x:Uid="Three_Update_Settings_Stack_Panel" Visibility="Collapsed"> |
| 240 | + <StackPanel Orientation="Horizontal" Margin="{StaticResource SettingsSubheaderMargin}"> |
| 241 | + <TextBlock Text="Show update prompt" Style="{StaticResource SubtitleTextBlockStyle}" FontSize="15" |
| 242 | + Width="185" Margin="5" VerticalAlignment="Center"/> |
| 243 | + <ToggleSwitch |
| 244 | + Margin="10,0,0,0" |
249 | 245 | x:Uid="Show_Prompt_Switch" |
250 | 246 | x:Name="Show_Prompt_Switch" |
251 | 247 | IsOn="{Binding IsShowPrompt}" |
252 | 248 | Toggled="Show_Prompt_Switch_Toggled" |
| 249 | + HorizontalAlignment="Right" |
253 | 250 | /> |
254 | | - <TextBlock Text="Blocking update" Style="{StaticResource SubtitleTextBlockStyle}" FontSize="15" |
255 | | - Margin="31,5,5,5" VerticalAlignment="Center"/> |
256 | | - <ToggleSwitch |
257 | | - Margin="2,0,0,0" |
| 251 | + </StackPanel> |
| 252 | + <StackPanel Orientation="Horizontal" Margin="{StaticResource SettingsSubheaderMargin}"> |
| 253 | + <TextBlock Text="Update blocks activation" Style="{StaticResource SubtitleTextBlockStyle}" FontSize="15" |
| 254 | + Width="185" Margin="5" VerticalAlignment="Center"/> |
| 255 | + <ToggleSwitch |
| 256 | + Margin="10,0,0,0" |
258 | 257 | x:Uid="Block_Update_Switch" |
259 | 258 | x:Name="Block_Update_Switch" |
260 | 259 | IsOn="{Binding IsBlockingUpdate}" |
261 | 260 | Toggled="Block_Update_Switch_Toggled" |
| 261 | + HorizontalAlignment="Right" |
262 | 262 | /> |
| 263 | + </StackPanel> |
| 264 | + <StackPanel Orientation="Horizontal" Margin="{StaticResource SettingsSubheaderMargin}"> |
| 265 | + <TextBlock Text="Force update to version" Style="{StaticResource SubtitleTextBlockStyle}" FontSize="15" |
| 266 | + Width="185" Margin="5" VerticalAlignment="Center" /> |
| 267 | + <ToggleSwitch |
| 268 | + Margin="10,0,0,0" |
| 269 | + x:Uid="Force_Update_Switch" |
| 270 | + x:Name="Force_Update_Switch" |
| 271 | + IsOn="{Binding IsForcedUpdate}" |
| 272 | + Toggled="Force_Update_Switch_Toggled" |
| 273 | + HorizontalAlignment="Right" |
| 274 | + /> |
| 275 | + </StackPanel> |
263 | 276 | </StackPanel> |
264 | 277 |
|
265 | 278 | </StackPanel> |
266 | 279 |
|
267 | | - |
268 | 280 | </StackPanel> |
269 | 281 | </Grid> |
270 | 282 | </ScrollViewer> |
|
0 commit comments