From 007909fb544cf7d16db00c2c37a34e706c7d9e30 Mon Sep 17 00:00:00 2001 From: Bastian Schmidt Date: Thu, 24 Dec 2020 09:37:17 +0100 Subject: [PATCH] Fixes #885 by using proper sizes for paths and updating paths --- Changelog.md | 1 + .../Themes/Controls/WindowCommands.xaml | 52 +++++++------------ 2 files changed, 21 insertions(+), 32 deletions(-) diff --git a/Changelog.md b/Changelog.md index 07e0495b4..9ddea0ad4 100644 --- a/Changelog.md +++ b/Changelog.md @@ -8,6 +8,7 @@ - [#881](../../issues/881) - Quick Access Toolbar: Drop Down Arrow not Visible - [#883](../../issues/883) - GroupBy not working anymore on Fluent:Gallery? Added `IsGrouped` to `Gallery`. + - [#885](../../issues/885) - When a window is maximized its 'Restore down' icon gets distorted ## 8.0.2 diff --git a/Fluent.Ribbon/Themes/Controls/WindowCommands.xaml b/Fluent.Ribbon/Themes/Controls/WindowCommands.xaml index 36d5bcb13..da5e7a24f 100644 --- a/Fluent.Ribbon/Themes/Controls/WindowCommands.xaml +++ b/Fluent.Ribbon/Themes/Controls/WindowCommands.xaml @@ -28,16 +28,13 @@ Padding="0" ToolTip="{Binding Minimize, RelativeSource={RelativeSource FindAncestor, AncestorType={x:Type Fluent:WindowCommands}}}" Uid="{Binding Minimize, RelativeSource={RelativeSource FindAncestor, AncestorType={x:Type Fluent:WindowCommands}}}" - UseLayoutRounding="True"> - + + Fill="{Binding Path=Foreground, RelativeSource={RelativeSource AncestorType={x:Type Button}}}" />