|
250 | 250 | Style="{StaticResource RightAlignedToggleSwitchStyle}" />
|
251 | 251 | </local:SettingsBlockControl>
|
252 | 252 |
|
253 |
| - <!-- Show home button --> |
254 |
| - <local:SettingsBlockControl Title="{helpers:ResourceString Name=ShowHomeButton}" HorizontalAlignment="Stretch"> |
255 |
| - <local:SettingsBlockControl.Icon> |
256 |
| - <FontIcon Glyph="" /> |
257 |
| - </local:SettingsBlockControl.Icon> |
258 |
| - <ToggleSwitch |
259 |
| - AutomationProperties.AutomationControlType="Custom" |
260 |
| - AutomationProperties.Name="{helpers:ResourceString Name=ShowHomeButton}" |
261 |
| - IsOn="{x:Bind ViewModel.ShowHomeButton, Mode=TwoWay}" |
262 |
| - Style="{StaticResource RightAlignedToggleSwitchStyle}" /> |
263 |
| - </local:SettingsBlockControl> |
264 |
| - |
265 |
| - <!-- Show toolbar --> |
266 |
| - <local:SettingsBlockControl Title="{helpers:ResourceString Name=ShowToolbar}" HorizontalAlignment="Stretch"> |
| 253 | + <!-- Toolbar --> |
| 254 | + <local:SettingsBlockControl |
| 255 | + Title="{helpers:ResourceString Name=Toolbars}" |
| 256 | + HorizontalAlignment="Stretch" |
| 257 | + IsExpanded="False"> |
267 | 258 | <local:SettingsBlockControl.Icon>
|
268 | 259 | <PathIcon Data="{StaticResource App.Theme.PathIcon.WebAsset}" />
|
269 | 260 | </local:SettingsBlockControl.Icon>
|
270 |
| - <ToggleSwitch |
271 |
| - AutomationProperties.Name="{helpers:ResourceString Name=ShowToolbar}" |
272 |
| - IsOn="{x:Bind ViewModel.ShowToolbar, Mode=TwoWay}" |
273 |
| - Style="{StaticResource RightAlignedToggleSwitchStyle}" /> |
| 261 | + |
| 262 | + <local:SettingsBlockControl.ExpandableContent> |
| 263 | + <StackPanel> |
| 264 | + <!-- Show home button --> |
| 265 | + <local:SettingsBlockControl Title="{helpers:ResourceString Name=ShowHomeButton}" HorizontalAlignment="Stretch"> |
| 266 | + <ToggleSwitch |
| 267 | + AutomationProperties.AutomationControlType="Custom" |
| 268 | + AutomationProperties.Name="{helpers:ResourceString Name=ShowHomeButton}" |
| 269 | + IsOn="{x:Bind ViewModel.ShowHomeButton, Mode=TwoWay}" |
| 270 | + Style="{StaticResource RightAlignedToggleSwitchStyle}" /> |
| 271 | + </local:SettingsBlockControl> |
| 272 | + |
| 273 | + <!-- Show toolbar --> |
| 274 | + <local:SettingsBlockControl Title="{helpers:ResourceString Name=ShowToolbar}" HorizontalAlignment="Stretch"> |
| 275 | + <ToggleSwitch |
| 276 | + AutomationProperties.Name="{helpers:ResourceString Name=ShowToolbar}" |
| 277 | + IsOn="{x:Bind ViewModel.ShowToolbar, Mode=TwoWay}" |
| 278 | + Style="{StaticResource RightAlignedToggleSwitchStyle}" /> |
| 279 | + </local:SettingsBlockControl> |
| 280 | + </StackPanel> |
| 281 | + </local:SettingsBlockControl.ExpandableContent> |
274 | 282 | </local:SettingsBlockControl>
|
275 | 283 | </StackPanel>
|
276 | 284 | </Grid>
|
|
0 commit comments