Fix window decorations being too wide (#309)

This commit is contained in:
Daniel Zauner 2024-11-24 16:49:44 +01:00 committed by GitHub
parent e8d3ad4d8b
commit a81212bbf1
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -1,7 +1,8 @@
<Styles
xmlns="https://github.com/avaloniaui"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
xmlns:ui="clr-namespace:FluentAvalonia.UI.Controls;assembly=FluentAvalonia">
xmlns:ui="clr-namespace:FluentAvalonia.UI.Controls;assembly=FluentAvalonia"
xmlns:windowing="clr-namespace:FluentAvalonia.UI.Windowing;assembly=FluentAvalonia">
<Design.PreviewWith>
<Border Height="2000"
Padding="20">
@ -231,7 +232,7 @@
<Setter Property="BorderBrush"
Value="{DynamicResource HighlightBrush}" />
</Style>
<Style Selector="Button">
<Style Selector="Button:not(windowing|MinMaxCloseControl Button)">
<Setter Property="MinWidth"
Value="80" />
</Style>