From a0974301841fd1408dd8cf14971f28c4a092236a Mon Sep 17 00:00:00 2001 From: Bastian Schmidt Date: Tue, 21 Nov 2017 18:19:25 +0100 Subject: [PATCH] Fixes #488 by adding resources to control content border of ribbon You can now use Fluent.Ribbon.Values.RibbonTabControl.Content.BorderThickness to control the thickness of the border around the content area of RibbonTabControl --- Changelog.md | 2 ++ Fluent.Ribbon/Themes/Colors/BaseDark.xaml | 1 + Fluent.Ribbon/Themes/Colors/BaseLight.xaml | 1 + Fluent.Ribbon/Themes/Colors/Colors.xaml | 1 + Fluent.Ribbon/Themes/Common.xaml | 5 ++++- Fluent.Ribbon/Themes/Controls/Ribbon.xaml | 4 +++- Fluent.Ribbon/Themes/Controls/RibbonTabControl.xaml | 2 ++ 7 files changed, 14 insertions(+), 2 deletions(-) diff --git a/Changelog.md b/Changelog.md index 393a91c01..67dc50b7b 100644 --- a/Changelog.md +++ b/Changelog.md @@ -185,6 +185,8 @@ - [#480](../../issues/480) - Disable Scroll Wheel for tab selection You can control this behavior by using `IsMouseWheelScrollingEnabled` on `Ribbon` - [#484](../../issues/484) - Add special style/template for MenuItem with set description + - [#488](../../issues/488) - Display border around content area of RibbonTabControl + You can now use `Fluent.Ribbon.Values.RibbonTabControl.Content.BorderThickness` to control the thickness of the border around the content area of `RibbonTabControl` ## 5.0.2 - [#437](../../issues/437) - "Could not load ControlzEx" diff --git a/Fluent.Ribbon/Themes/Colors/BaseDark.xaml b/Fluent.Ribbon/Themes/Colors/BaseDark.xaml index 030a78538..e3d3690bd 100644 --- a/Fluent.Ribbon/Themes/Colors/BaseDark.xaml +++ b/Fluent.Ribbon/Themes/Colors/BaseDark.xaml @@ -107,6 +107,7 @@ + diff --git a/Fluent.Ribbon/Themes/Colors/BaseLight.xaml b/Fluent.Ribbon/Themes/Colors/BaseLight.xaml index de994a905..720ed6c37 100644 --- a/Fluent.Ribbon/Themes/Colors/BaseLight.xaml +++ b/Fluent.Ribbon/Themes/Colors/BaseLight.xaml @@ -107,6 +107,7 @@ + diff --git a/Fluent.Ribbon/Themes/Colors/Colors.xaml b/Fluent.Ribbon/Themes/Colors/Colors.xaml index b563abc26..7a897dc6b 100644 --- a/Fluent.Ribbon/Themes/Colors/Colors.xaml +++ b/Fluent.Ribbon/Themes/Colors/Colors.xaml @@ -159,6 +159,7 @@ + diff --git a/Fluent.Ribbon/Themes/Common.xaml b/Fluent.Ribbon/Themes/Common.xaml index 1bc993657..c147eb3a4 100644 --- a/Fluent.Ribbon/Themes/Common.xaml +++ b/Fluent.Ribbon/Themes/Common.xaml @@ -1,7 +1,10 @@  - + + 0 + +