Browse Source
Merge pull request #4351 from MarchingCube/fix-captionbuttons-maxheight
Remove local value for MaxHeight on CaptionButtons
pull/4358/head
danwalmsley
6 years ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with
2 additions and
2 deletions
-
src/Avalonia.Themes.Default/TitleBar.xaml
-
src/Avalonia.Themes.Fluent/TitleBar.xaml
|
|
|
@ -15,7 +15,7 @@ |
|
|
|
<Panel x:Name="PART_MouseTracker" Height="1" VerticalAlignment="Top" /> |
|
|
|
<Panel x:Name="PART_Container"> |
|
|
|
<Border x:Name="PART_Background" Background="{TemplateBinding Background}" /> |
|
|
|
<CaptionButtons x:Name="PART_CaptionButtons" VerticalAlignment="Top" HorizontalAlignment="Right" Foreground="{TemplateBinding Foreground}" MaxHeight="30" /> |
|
|
|
<CaptionButtons x:Name="PART_CaptionButtons" VerticalAlignment="Top" HorizontalAlignment="Right" Foreground="{TemplateBinding Foreground}" /> |
|
|
|
</Panel> |
|
|
|
</Panel> |
|
|
|
</ControlTemplate> |
|
|
|
|
|
|
|
@ -15,7 +15,7 @@ |
|
|
|
<Panel x:Name="PART_MouseTracker" Height="1" VerticalAlignment="Top" /> |
|
|
|
<Panel x:Name="PART_Container"> |
|
|
|
<Border x:Name="PART_Background" Background="{TemplateBinding Background}" /> |
|
|
|
<CaptionButtons x:Name="PART_CaptionButtons" VerticalAlignment="Top" HorizontalAlignment="Right" Foreground="{TemplateBinding Foreground}" MaxHeight="30" /> |
|
|
|
<CaptionButtons x:Name="PART_CaptionButtons" VerticalAlignment="Top" HorizontalAlignment="Right" Foreground="{TemplateBinding Foreground}" /> |
|
|
|
</Panel> |
|
|
|
</Panel> |
|
|
|
</ControlTemplate> |
|
|
|
|