Add fullscreen toggle functionality and update popover alignment (#773)

* fix: update Height binding and add VerticalAlignment to fullscreen popover.

* feat: add fullscreen toggle functionality with F11 key.
This commit is contained in:
Zhang Dian
2026-03-21 22:21:23 +08:00
committed by GitHub
parent 665dca3bd3
commit bfb3dd671b
2 changed files with 29 additions and 1 deletions

View File

@@ -120,8 +120,9 @@
<WindowDrawnDecorationsContent.FullscreenPopover>
<!-- Shown on hover at top edge in fullscreen -->
<DockPanel
Height="{TemplateBinding TitleBarHeight}"
Height="{TemplateBinding DefaultTitleBarHeight}"
Background="{DynamicResource TitleBarBackground}"
VerticalAlignment="Top"
WindowDecorationProperties.ElementRole="TitleBar">
<StackPanel DockPanel.Dock="Right" Orientation="Horizontal">
<Button