[GUI] Update window chrome controls (#700)

This commit is contained in:
Daniel Freak
2026-07-30 17:03:57 +03:00
committed by GitHub
parent 5f1bd5a77c
commit 753ddf93be
6 changed files with 93 additions and 22 deletions
@@ -19,6 +19,12 @@ Window chrome button sizing and interaction states.
<Setter Property="HorizontalContentAlignment" Value="Center" />
<Setter Property="VerticalContentAlignment" Value="Center" />
</Style>
<Style Selector="TextBlock.windowChromeGlyph">
<Setter Property="IsHitTestVisible" Value="False" />
</Style>
<Style Selector="TextBlock.windowCloseGlyph">
<Setter Property="Margin" Value="0,-1,0,1" />
</Style>
<Style Selector="Button.windowChrome:pointerover /template/ ContentPresenter#PART_ContentPresenter">
<Setter Property="Background" Value="{StaticResource ElevatedBrush}" />
<Setter Property="Foreground" Value="{StaticResource TextBrush}" />