|
292 | 292 | </MenuFlyout> |
293 | 293 | </Button.ContextFlyout> |
294 | 294 | </Button> |
295 | | - |
296 | | - <StackPanel FlowDirection="LeftToRight"> |
297 | | - <Button |
| 295 | + |
| 296 | + <Button |
298 | 297 | x:Name="Forward" |
299 | 298 | AccessKey="F" |
300 | 299 | AccessKeyInvoked="Button_AccessKeyInvoked" |
|
304 | 303 | IsEnabled="{x:Bind ViewModel.Commands.NavigateForward.IsExecutable, Mode=OneWay}" |
305 | 304 | Style="{StaticResource AddressToolbarButtonStyle}" |
306 | 305 | ToolTipService.ToolTip="{x:Bind ViewModel.Commands.NavigateForward.LabelWithHotKey, Mode=OneWay}"> |
307 | | - <s:ArrowGlyph Arrow="Forward" FontSize="14" /> |
308 | | - <Button.ContextFlyout> |
309 | | - <MenuFlyout |
| 306 | + <s:ArrowGlyph Arrow="Forward" FontSize="14" /> |
| 307 | + <Button.ContextFlyout> |
| 308 | + <MenuFlyout |
310 | 309 | x:Name="ForwardHistoryFlyout" |
311 | 310 | Opening="ForwardHistoryFlyout_Opening" |
312 | 311 | Placement="BottomEdgeAlignedLeft" |
313 | 312 | ScrollViewer.VerticalScrollBarVisibility="Auto" |
314 | 313 | ScrollViewer.VerticalScrollMode="Auto"> |
315 | | - <MenuFlyout.MenuFlyoutPresenterStyle> |
316 | | - <Style TargetType="MenuFlyoutPresenter"> |
317 | | - <Setter Property="MaxHeight" Value="400" /> |
318 | | - <!-- Workaround for https://github.com/files-community/Files/issues/13078 --> |
319 | | - <Setter Target="HighContrastAdjustment" Value="None" /> |
320 | | - </Style> |
321 | | - </MenuFlyout.MenuFlyoutPresenterStyle> |
322 | | - </MenuFlyout> |
323 | | - </Button.ContextFlyout> |
324 | | - </Button> |
325 | | - </StackPanel> |
| 314 | + <MenuFlyout.MenuFlyoutPresenterStyle> |
| 315 | + <Style TargetType="MenuFlyoutPresenter"> |
| 316 | + <Setter Property="MaxHeight" Value="400" /> |
| 317 | + <!-- Workaround for https://github.com/files-community/Files/issues/13078 --> |
| 318 | + <Setter Target="HighContrastAdjustment" Value="None" /> |
| 319 | + </Style> |
| 320 | + </MenuFlyout.MenuFlyoutPresenterStyle> |
| 321 | + </MenuFlyout> |
| 322 | + </Button.ContextFlyout> |
| 323 | + </Button> |
326 | 324 |
|
327 | 325 | <Button |
328 | 326 | x:Name="Up" |
|
0 commit comments