From d9dfa3ae041f1ad87c64d815d901824d782c99da Mon Sep 17 00:00:00 2001 From: Giduac Date: Sun, 24 Nov 2024 10:39:50 +0100 Subject: [PATCH] 1843-V95-navigator-tab-buttonspec-image-cut-off Listim item button paddding changed And the change log --- Documents/Changelog/Changelog.md | 1 + .../Extra Themes/PaletteMicrosoft365BlackDarkModeAlternate.cs | 2 +- .../Extra Themes/PaletteMicrosoft365BlueDarkMode.cs | 2 +- .../Extra Themes/PaletteMicrosoft365BlueLightMode.cs | 2 +- .../Extra Themes/PaletteMicrosoft365SilverDarkMode.cs | 2 +- .../Extra Themes/PaletteMicrosoft365SilverLightMode.cs | 2 +- .../Palette Builtin/Office 2007/Bases/PaletteOffice2007Base.cs | 2 +- .../Office 2007/Extra Themes/PaletteOffice2007BlackDarkMode.cs | 2 +- .../Office 2007/Extra Themes/PaletteOffice2007BlueDarkMode.cs | 2 +- .../Office 2007/Extra Themes/PaletteOffice2007BlueLightMode.cs | 2 +- .../Office 2007/Extra Themes/PaletteOffice2007SilverDarkMode.cs | 2 +- .../Extra Themes/PaletteOffice2007SilverLightMode.cs | 2 +- .../Palette Builtin/Office 2010/Bases/PaletteOffice2010Base.cs | 2 +- .../Office 2010/Extra Themes/PaletteOffice2010BlackDarkMode.cs | 2 +- .../Office 2010/Extra Themes/PaletteOffice2010BlueDarkMode.cs | 2 +- .../Office 2010/Extra Themes/PaletteOffice2010BlueLightMode.cs | 2 +- .../Office 2010/Extra Themes/PaletteOffice2010SilverDarkMode.cs | 2 +- .../Extra Themes/PaletteOffice2010SilverLightMode.cs | 2 +- .../Office 2010/Official Themes/PaletteOffice2010Black.cs | 2 +- .../Palette Builtin/Office 2013/Bases/PaletteOffice2013Base.cs | 2 +- .../Office 2013/Official Themes/PaletteOffice2013White.cs | 2 +- .../Palette Builtin/Sparkle/Base/PaletteSparkleBase.cs | 2 +- .../Sparkle/Extra Themes/PaletteSparkleBlueDarkMode.cs | 2 +- .../Visual Studio/Base/PaletteVisualStudioBase.cs | 2 +- .../Renderers/2007/PaletteVisualStudio2010With2007Base.cs | 2 +- .../Renderers/2010/PaletteVisualStudio2010With2010Base.cs | 2 +- .../Renderers/2013/PaletteVisualStudio2010With2013Base.cs | 2 +- .../Renderers/365/PaletteVisualStudio2010With365Base.cs | 2 +- 28 files changed, 28 insertions(+), 27 deletions(-) diff --git a/Documents/Changelog/Changelog.md b/Documents/Changelog/Changelog.md index 3a83eadb2..a5d73b222 100644 --- a/Documents/Changelog/Changelog.md +++ b/Documents/Changelog/Changelog.md @@ -3,6 +3,7 @@ ======= ## 2025-02-01 - Build 2502 (Version 90 - Patch 1) - February 2025 +* Resolved [#1843](https://github.com/Krypton-Suite/Standard-Toolkit/issues/1843), `ButtonSpec` position is off due to an incorrect padding when style is set to "List Item". * Resolved [#1865](https://github.com/Krypton-Suite/Standard-Toolkit/issues/1865), Outlook Mockup Error (thanks to [AngeloCresta](https://github.com/AngeloCresta)) * Resolved [#1862](https://github.com/Krypton-Suite/Standard-Toolkit/issues/1862), `VisualPanel.PaintTransparentBackground()` throws a null reference exception * Resolved [#1399](https://github.com/Krypton-Suite/Standard-Toolkit/issues/1399), Hard coded colour setting removed from the `KryptonRibbonTab`. diff --git a/Source/Krypton Components/Krypton.Toolkit/Palette Builtin/Microsoft 365/Extra Themes/PaletteMicrosoft365BlackDarkModeAlternate.cs b/Source/Krypton Components/Krypton.Toolkit/Palette Builtin/Microsoft 365/Extra Themes/PaletteMicrosoft365BlackDarkModeAlternate.cs index 98f0d9083..9854605a6 100644 --- a/Source/Krypton Components/Krypton.Toolkit/Palette Builtin/Microsoft 365/Extra Themes/PaletteMicrosoft365BlackDarkModeAlternate.cs +++ b/Source/Krypton Components/Krypton.Toolkit/Palette Builtin/Microsoft 365/Extra Themes/PaletteMicrosoft365BlackDarkModeAlternate.cs @@ -641,7 +641,7 @@ public abstract class PaletteMicrosoft365BlackDarkModeAlternateBase : PaletteBas private static readonly Padding _contentPaddingButton7 = new Padding(1, 1, 0, 1); private static readonly Padding _contentPaddingButtonForm = new Padding(0); private static readonly Padding _contentPaddingButtonGallery = new Padding(1, 0, 1, 0); - private static readonly Padding _contentPaddingButtonListItem = new Padding(0, -1, 0, -1); + private static readonly Padding _contentPaddingButtonListItem = new Padding(0, 0, 0, 0); private static readonly Padding _contentPaddingToolTip = new Padding(2); private static readonly Padding _contentPaddingSuperTip = new Padding(4); private static readonly Padding _contentPaddingKeyTip = new Padding(0, -1, 0, -3); diff --git a/Source/Krypton Components/Krypton.Toolkit/Palette Builtin/Microsoft 365/Extra Themes/PaletteMicrosoft365BlueDarkMode.cs b/Source/Krypton Components/Krypton.Toolkit/Palette Builtin/Microsoft 365/Extra Themes/PaletteMicrosoft365BlueDarkMode.cs index d6b68008d..9c3334f0e 100644 --- a/Source/Krypton Components/Krypton.Toolkit/Palette Builtin/Microsoft 365/Extra Themes/PaletteMicrosoft365BlueDarkMode.cs +++ b/Source/Krypton Components/Krypton.Toolkit/Palette Builtin/Microsoft 365/Extra Themes/PaletteMicrosoft365BlueDarkMode.cs @@ -630,7 +630,7 @@ public abstract class PaletteMicrosoft365BlueDarkModeBase : PaletteBase private static readonly Padding _contentPaddingButton7 = new Padding(1, 1, 0, 1); private static readonly Padding _contentPaddingButtonForm = new Padding(0); private static readonly Padding _contentPaddingButtonGallery = new Padding(1, 0, 1, 0); - private static readonly Padding _contentPaddingButtonListItem = new Padding(0, -1, 0, -1); + private static readonly Padding _contentPaddingButtonListItem = new Padding(0, 0, 0, 0); private static readonly Padding _contentPaddingToolTip = new Padding(2); private static readonly Padding _contentPaddingSuperTip = new Padding(4); private static readonly Padding _contentPaddingKeyTip = new Padding(0, -1, 0, -3); diff --git a/Source/Krypton Components/Krypton.Toolkit/Palette Builtin/Microsoft 365/Extra Themes/PaletteMicrosoft365BlueLightMode.cs b/Source/Krypton Components/Krypton.Toolkit/Palette Builtin/Microsoft 365/Extra Themes/PaletteMicrosoft365BlueLightMode.cs index e14fb31dd..4684e2855 100644 --- a/Source/Krypton Components/Krypton.Toolkit/Palette Builtin/Microsoft 365/Extra Themes/PaletteMicrosoft365BlueLightMode.cs +++ b/Source/Krypton Components/Krypton.Toolkit/Palette Builtin/Microsoft 365/Extra Themes/PaletteMicrosoft365BlueLightMode.cs @@ -642,7 +642,7 @@ public abstract class PaletteMicrosoft365BlueLightModeBase : PaletteBase private static readonly Padding _contentPaddingButton7 = new Padding(1, 1, 0, 1); private static readonly Padding _contentPaddingButtonForm = new Padding(0); private static readonly Padding _contentPaddingButtonGallery = new Padding(1, 0, 1, 0); - private static readonly Padding _contentPaddingButtonListItem = new Padding(0, -1, 0, -1); + private static readonly Padding _contentPaddingButtonListItem = new Padding(0, 0, 0, 0); private static readonly Padding _contentPaddingToolTip = new Padding(2); private static readonly Padding _contentPaddingSuperTip = new Padding(4); private static readonly Padding _contentPaddingKeyTip = new Padding(0, -1, 0, -3); diff --git a/Source/Krypton Components/Krypton.Toolkit/Palette Builtin/Microsoft 365/Extra Themes/PaletteMicrosoft365SilverDarkMode.cs b/Source/Krypton Components/Krypton.Toolkit/Palette Builtin/Microsoft 365/Extra Themes/PaletteMicrosoft365SilverDarkMode.cs index 7b729b554..672f54949 100644 --- a/Source/Krypton Components/Krypton.Toolkit/Palette Builtin/Microsoft 365/Extra Themes/PaletteMicrosoft365SilverDarkMode.cs +++ b/Source/Krypton Components/Krypton.Toolkit/Palette Builtin/Microsoft 365/Extra Themes/PaletteMicrosoft365SilverDarkMode.cs @@ -630,7 +630,7 @@ public abstract class PaletteMicrosoft365SilverDarkModeBase : PaletteBase private static readonly Padding _contentPaddingButton7 = new Padding(1, 1, 0, 1); private static readonly Padding _contentPaddingButtonForm = new Padding(0); private static readonly Padding _contentPaddingButtonGallery = new Padding(1, 0, 1, 0); - private static readonly Padding _contentPaddingButtonListItem = new Padding(0, -1, 0, -1); + private static readonly Padding _contentPaddingButtonListItem = new Padding(0, 0, 0, 0); private static readonly Padding _contentPaddingToolTip = new Padding(2); private static readonly Padding _contentPaddingSuperTip = new Padding(4); private static readonly Padding _contentPaddingKeyTip = new Padding(0, -1, 0, -3); diff --git a/Source/Krypton Components/Krypton.Toolkit/Palette Builtin/Microsoft 365/Extra Themes/PaletteMicrosoft365SilverLightMode.cs b/Source/Krypton Components/Krypton.Toolkit/Palette Builtin/Microsoft 365/Extra Themes/PaletteMicrosoft365SilverLightMode.cs index 3280a6596..a40dad0cb 100644 --- a/Source/Krypton Components/Krypton.Toolkit/Palette Builtin/Microsoft 365/Extra Themes/PaletteMicrosoft365SilverLightMode.cs +++ b/Source/Krypton Components/Krypton.Toolkit/Palette Builtin/Microsoft 365/Extra Themes/PaletteMicrosoft365SilverLightMode.cs @@ -634,7 +634,7 @@ public abstract class PaletteMicrosoft365SilverLightModeBase : PaletteBase private static readonly Padding _contentPaddingButton7 = new Padding(1, 1, 0, 1); private static readonly Padding _contentPaddingButtonForm = new Padding(0); private static readonly Padding _contentPaddingButtonGallery = new Padding(1, 0, 1, 0); - private static readonly Padding _contentPaddingButtonListItem = new Padding(0, -1, 0, -1); + private static readonly Padding _contentPaddingButtonListItem = new Padding(0, 0, 0, 0); private static readonly Padding _contentPaddingToolTip = new Padding(2); private static readonly Padding _contentPaddingSuperTip = new Padding(4); private static readonly Padding _contentPaddingKeyTip = new Padding(0, -1, 0, -3); diff --git a/Source/Krypton Components/Krypton.Toolkit/Palette Builtin/Office 2007/Bases/PaletteOffice2007Base.cs b/Source/Krypton Components/Krypton.Toolkit/Palette Builtin/Office 2007/Bases/PaletteOffice2007Base.cs index 0b406a1ef..32c2c24db 100644 --- a/Source/Krypton Components/Krypton.Toolkit/Palette Builtin/Office 2007/Bases/PaletteOffice2007Base.cs +++ b/Source/Krypton Components/Krypton.Toolkit/Palette Builtin/Office 2007/Bases/PaletteOffice2007Base.cs @@ -39,7 +39,7 @@ public abstract class PaletteOffice2007Base : PaletteBase private static readonly Padding _contentPaddingButton7 = new Padding(1, 1, 0, 1); private static readonly Padding _contentPaddingButtonForm = new Padding(0); private static readonly Padding _contentPaddingButtonGallery = new Padding(1, 0, 1, 0); - private static readonly Padding _contentPaddingButtonListItem = new Padding(0, -1, 0, -1); + private static readonly Padding _contentPaddingButtonListItem = new Padding(0, 0, 0, 0); private static readonly Padding _contentPaddingToolTip = new Padding(2); private static readonly Padding _contentPaddingSuperTip = new Padding(4); private static readonly Padding _contentPaddingKeyTip = new Padding(0, -1, 0, -3); diff --git a/Source/Krypton Components/Krypton.Toolkit/Palette Builtin/Office 2007/Extra Themes/PaletteOffice2007BlackDarkMode.cs b/Source/Krypton Components/Krypton.Toolkit/Palette Builtin/Office 2007/Extra Themes/PaletteOffice2007BlackDarkMode.cs index ebf02564f..6db02780f 100644 --- a/Source/Krypton Components/Krypton.Toolkit/Palette Builtin/Office 2007/Extra Themes/PaletteOffice2007BlackDarkMode.cs +++ b/Source/Krypton Components/Krypton.Toolkit/Palette Builtin/Office 2007/Extra Themes/PaletteOffice2007BlackDarkMode.cs @@ -657,7 +657,7 @@ public abstract class PaletteOffice2007BlackDarkModeBase : PaletteBase private static readonly Padding _contentPaddingButton7 = new Padding(1, 1, 0, 1); private static readonly Padding _contentPaddingButtonForm = new Padding(0); private static readonly Padding _contentPaddingButtonGallery = new Padding(1, 0, 1, 0); - private static readonly Padding _contentPaddingButtonListItem = new Padding(0, -1, 0, -1); + private static readonly Padding _contentPaddingButtonListItem = new Padding(0, 0, 0, 0); private static readonly Padding _contentPaddingToolTip = new Padding(2); private static readonly Padding _contentPaddingSuperTip = new Padding(4); private static readonly Padding _contentPaddingKeyTip = new Padding(0, -1, 0, -3); diff --git a/Source/Krypton Components/Krypton.Toolkit/Palette Builtin/Office 2007/Extra Themes/PaletteOffice2007BlueDarkMode.cs b/Source/Krypton Components/Krypton.Toolkit/Palette Builtin/Office 2007/Extra Themes/PaletteOffice2007BlueDarkMode.cs index 4038d8574..5c85c175f 100644 --- a/Source/Krypton Components/Krypton.Toolkit/Palette Builtin/Office 2007/Extra Themes/PaletteOffice2007BlueDarkMode.cs +++ b/Source/Krypton Components/Krypton.Toolkit/Palette Builtin/Office 2007/Extra Themes/PaletteOffice2007BlueDarkMode.cs @@ -502,7 +502,7 @@ public abstract class PaletteOffice2007BlueDarkModeBase : PaletteBase private static readonly Padding _contentPaddingButton7 = new Padding(1, 1, 0, 1); private static readonly Padding _contentPaddingButtonForm = new Padding(0); private static readonly Padding _contentPaddingButtonGallery = new Padding(1, 0, 1, 0); - private static readonly Padding _contentPaddingButtonListItem = new Padding(0, -1, 0, -1); + private static readonly Padding _contentPaddingButtonListItem = new Padding(0, 0, 0, 0); private static readonly Padding _contentPaddingToolTip = new Padding(2); private static readonly Padding _contentPaddingSuperTip = new Padding(4); private static readonly Padding _contentPaddingKeyTip = new Padding(0, -1, 0, -3); diff --git a/Source/Krypton Components/Krypton.Toolkit/Palette Builtin/Office 2007/Extra Themes/PaletteOffice2007BlueLightMode.cs b/Source/Krypton Components/Krypton.Toolkit/Palette Builtin/Office 2007/Extra Themes/PaletteOffice2007BlueLightMode.cs index db07b8fdc..f68ff9480 100644 --- a/Source/Krypton Components/Krypton.Toolkit/Palette Builtin/Office 2007/Extra Themes/PaletteOffice2007BlueLightMode.cs +++ b/Source/Krypton Components/Krypton.Toolkit/Palette Builtin/Office 2007/Extra Themes/PaletteOffice2007BlueLightMode.cs @@ -504,7 +504,7 @@ public abstract class PaletteOffice2007BlueLightModeBase : PaletteBase private static readonly Padding _contentPaddingButton7 = new Padding(1, 1, 0, 1); private static readonly Padding _contentPaddingButtonForm = new Padding(0); private static readonly Padding _contentPaddingButtonGallery = new Padding(1, 0, 1, 0); - private static readonly Padding _contentPaddingButtonListItem = new Padding(0, -1, 0, -1); + private static readonly Padding _contentPaddingButtonListItem = new Padding(0, 0, 0, 0); private static readonly Padding _contentPaddingToolTip = new Padding(2); private static readonly Padding _contentPaddingSuperTip = new Padding(4); private static readonly Padding _contentPaddingKeyTip = new Padding(0, -1, 0, -3); diff --git a/Source/Krypton Components/Krypton.Toolkit/Palette Builtin/Office 2007/Extra Themes/PaletteOffice2007SilverDarkMode.cs b/Source/Krypton Components/Krypton.Toolkit/Palette Builtin/Office 2007/Extra Themes/PaletteOffice2007SilverDarkMode.cs index 50d75a8e4..4e19f8d42 100644 --- a/Source/Krypton Components/Krypton.Toolkit/Palette Builtin/Office 2007/Extra Themes/PaletteOffice2007SilverDarkMode.cs +++ b/Source/Krypton Components/Krypton.Toolkit/Palette Builtin/Office 2007/Extra Themes/PaletteOffice2007SilverDarkMode.cs @@ -477,7 +477,7 @@ public abstract class PaletteOffice2007SilverDarkModeBase : PaletteBase private static readonly Padding _contentPaddingButton7 = new Padding(1, 1, 0, 1); private static readonly Padding _contentPaddingButtonForm = new Padding(0); private static readonly Padding _contentPaddingButtonGallery = new Padding(1, 0, 1, 0); - private static readonly Padding _contentPaddingButtonListItem = new Padding(0, -1, 0, -1); + private static readonly Padding _contentPaddingButtonListItem = new Padding(0, 0, 0, 0); private static readonly Padding _contentPaddingToolTip = new Padding(2); private static readonly Padding _contentPaddingSuperTip = new Padding(4); private static readonly Padding _contentPaddingKeyTip = new Padding(0, -1, 0, -3); diff --git a/Source/Krypton Components/Krypton.Toolkit/Palette Builtin/Office 2007/Extra Themes/PaletteOffice2007SilverLightMode.cs b/Source/Krypton Components/Krypton.Toolkit/Palette Builtin/Office 2007/Extra Themes/PaletteOffice2007SilverLightMode.cs index 8999d0a42..fc41cebfe 100644 --- a/Source/Krypton Components/Krypton.Toolkit/Palette Builtin/Office 2007/Extra Themes/PaletteOffice2007SilverLightMode.cs +++ b/Source/Krypton Components/Krypton.Toolkit/Palette Builtin/Office 2007/Extra Themes/PaletteOffice2007SilverLightMode.cs @@ -477,7 +477,7 @@ public abstract class PaletteOffice2007SilverLightModeBase : PaletteBase private static readonly Padding _contentPaddingButton7 = new Padding(1, 1, 0, 1); private static readonly Padding _contentPaddingButtonForm = new Padding(0); private static readonly Padding _contentPaddingButtonGallery = new Padding(1, 0, 1, 0); - private static readonly Padding _contentPaddingButtonListItem = new Padding(0, -1, 0, -1); + private static readonly Padding _contentPaddingButtonListItem = new Padding(0, 0, 0, 0); private static readonly Padding _contentPaddingToolTip = new Padding(2); private static readonly Padding _contentPaddingSuperTip = new Padding(4); private static readonly Padding _contentPaddingKeyTip = new Padding(0, -1, 0, -3); diff --git a/Source/Krypton Components/Krypton.Toolkit/Palette Builtin/Office 2010/Bases/PaletteOffice2010Base.cs b/Source/Krypton Components/Krypton.Toolkit/Palette Builtin/Office 2010/Bases/PaletteOffice2010Base.cs index 447b50e5c..ab4e4b924 100644 --- a/Source/Krypton Components/Krypton.Toolkit/Palette Builtin/Office 2010/Bases/PaletteOffice2010Base.cs +++ b/Source/Krypton Components/Krypton.Toolkit/Palette Builtin/Office 2010/Bases/PaletteOffice2010Base.cs @@ -38,7 +38,7 @@ public abstract class PaletteOffice2010Base : PaletteBase private static readonly Padding _contentPaddingButton7 = new Padding(1, 1, 0, 1); private static readonly Padding _contentPaddingButtonForm = new Padding(0); private static readonly Padding _contentPaddingButtonGallery = new Padding(1, 0, 1, 0); - private static readonly Padding _contentPaddingButtonListItem = new Padding(0, -1, 0, -1); + private static readonly Padding _contentPaddingButtonListItem = new Padding(0, 0, 0, 0); private static readonly Padding _contentPaddingToolTip = new Padding(2); private static readonly Padding _contentPaddingSuperTip = new Padding(4); private static readonly Padding _contentPaddingKeyTip = new Padding(0, -1, 0, -3); diff --git a/Source/Krypton Components/Krypton.Toolkit/Palette Builtin/Office 2010/Extra Themes/PaletteOffice2010BlackDarkMode.cs b/Source/Krypton Components/Krypton.Toolkit/Palette Builtin/Office 2010/Extra Themes/PaletteOffice2010BlackDarkMode.cs index 108d2c7ff..e9368c7cd 100644 --- a/Source/Krypton Components/Krypton.Toolkit/Palette Builtin/Office 2010/Extra Themes/PaletteOffice2010BlackDarkMode.cs +++ b/Source/Krypton Components/Krypton.Toolkit/Palette Builtin/Office 2010/Extra Themes/PaletteOffice2010BlackDarkMode.cs @@ -849,7 +849,7 @@ public abstract class PaletteOffice2010BlackDarkModeBase : PaletteBase private static readonly Padding _contentPaddingButton7 = new Padding(1, 1, 0, 1); private static readonly Padding _contentPaddingButtonForm = new Padding(0); private static readonly Padding _contentPaddingButtonGallery = new Padding(1, 0, 1, 0); - private static readonly Padding _contentPaddingButtonListItem = new Padding(0, -1, 0, -1); + private static readonly Padding _contentPaddingButtonListItem = new Padding(0, 0, 0, 0); private static readonly Padding _contentPaddingToolTip = new Padding(2); private static readonly Padding _contentPaddingSuperTip = new Padding(4); private static readonly Padding _contentPaddingKeyTip = new Padding(0, -1, 0, -3); diff --git a/Source/Krypton Components/Krypton.Toolkit/Palette Builtin/Office 2010/Extra Themes/PaletteOffice2010BlueDarkMode.cs b/Source/Krypton Components/Krypton.Toolkit/Palette Builtin/Office 2010/Extra Themes/PaletteOffice2010BlueDarkMode.cs index 9deefb1b5..24088a945 100644 --- a/Source/Krypton Components/Krypton.Toolkit/Palette Builtin/Office 2010/Extra Themes/PaletteOffice2010BlueDarkMode.cs +++ b/Source/Krypton Components/Krypton.Toolkit/Palette Builtin/Office 2010/Extra Themes/PaletteOffice2010BlueDarkMode.cs @@ -495,7 +495,7 @@ public abstract class PaletteOffice2010BlueDarkModeBase : PaletteBase private static readonly Padding _contentPaddingButton7 = new Padding(1, 1, 0, 1); private static readonly Padding _contentPaddingButtonForm = new Padding(0); private static readonly Padding _contentPaddingButtonGallery = new Padding(1, 0, 1, 0); - private static readonly Padding _contentPaddingButtonListItem = new Padding(0, -1, 0, -1); + private static readonly Padding _contentPaddingButtonListItem = new Padding(0, 0, 0, 0); private static readonly Padding _contentPaddingToolTip = new Padding(2); private static readonly Padding _contentPaddingSuperTip = new Padding(4); private static readonly Padding _contentPaddingKeyTip = new Padding(0, -1, 0, -3); diff --git a/Source/Krypton Components/Krypton.Toolkit/Palette Builtin/Office 2010/Extra Themes/PaletteOffice2010BlueLightMode.cs b/Source/Krypton Components/Krypton.Toolkit/Palette Builtin/Office 2010/Extra Themes/PaletteOffice2010BlueLightMode.cs index 594daef64..a2e1929c4 100644 --- a/Source/Krypton Components/Krypton.Toolkit/Palette Builtin/Office 2010/Extra Themes/PaletteOffice2010BlueLightMode.cs +++ b/Source/Krypton Components/Krypton.Toolkit/Palette Builtin/Office 2010/Extra Themes/PaletteOffice2010BlueLightMode.cs @@ -507,7 +507,7 @@ public abstract class PaletteOffice2010BlueLightModeBase : PaletteBase private static readonly Padding _contentPaddingButton7 = new Padding(1, 1, 0, 1); private static readonly Padding _contentPaddingButtonForm = new Padding(0); private static readonly Padding _contentPaddingButtonGallery = new Padding(1, 0, 1, 0); - private static readonly Padding _contentPaddingButtonListItem = new Padding(0, -1, 0, -1); + private static readonly Padding _contentPaddingButtonListItem = new Padding(0, 0, 0, 0); private static readonly Padding _contentPaddingToolTip = new Padding(2); private static readonly Padding _contentPaddingSuperTip = new Padding(4); private static readonly Padding _contentPaddingKeyTip = new Padding(0, -1, 0, -3); diff --git a/Source/Krypton Components/Krypton.Toolkit/Palette Builtin/Office 2010/Extra Themes/PaletteOffice2010SilverDarkMode.cs b/Source/Krypton Components/Krypton.Toolkit/Palette Builtin/Office 2010/Extra Themes/PaletteOffice2010SilverDarkMode.cs index 9489f6696..266429a99 100644 --- a/Source/Krypton Components/Krypton.Toolkit/Palette Builtin/Office 2010/Extra Themes/PaletteOffice2010SilverDarkMode.cs +++ b/Source/Krypton Components/Krypton.Toolkit/Palette Builtin/Office 2010/Extra Themes/PaletteOffice2010SilverDarkMode.cs @@ -497,7 +497,7 @@ public abstract class PaletteOffice2010SilverDarkModeBase : PaletteBase private static readonly Padding _contentPaddingButton7 = new Padding(1, 1, 0, 1); private static readonly Padding _contentPaddingButtonForm = new Padding(0); private static readonly Padding _contentPaddingButtonGallery = new Padding(1, 0, 1, 0); - private static readonly Padding _contentPaddingButtonListItem = new Padding(0, -1, 0, -1); + private static readonly Padding _contentPaddingButtonListItem = new Padding(0, 0, 0, 0); private static readonly Padding _contentPaddingToolTip = new Padding(2); private static readonly Padding _contentPaddingSuperTip = new Padding(4); private static readonly Padding _contentPaddingKeyTip = new Padding(0, -1, 0, -3); diff --git a/Source/Krypton Components/Krypton.Toolkit/Palette Builtin/Office 2010/Extra Themes/PaletteOffice2010SilverLightMode.cs b/Source/Krypton Components/Krypton.Toolkit/Palette Builtin/Office 2010/Extra Themes/PaletteOffice2010SilverLightMode.cs index c4e0264f5..28aa75438 100644 --- a/Source/Krypton Components/Krypton.Toolkit/Palette Builtin/Office 2010/Extra Themes/PaletteOffice2010SilverLightMode.cs +++ b/Source/Krypton Components/Krypton.Toolkit/Palette Builtin/Office 2010/Extra Themes/PaletteOffice2010SilverLightMode.cs @@ -501,7 +501,7 @@ public abstract class PaletteOffice2010SilverLightModeBase : PaletteBase private static readonly Padding _contentPaddingButton7 = new Padding(1, 1, 0, 1); private static readonly Padding _contentPaddingButtonForm = new Padding(0); private static readonly Padding _contentPaddingButtonGallery = new Padding(1, 0, 1, 0); - private static readonly Padding _contentPaddingButtonListItem = new Padding(0, -1, 0, -1); + private static readonly Padding _contentPaddingButtonListItem = new Padding(0, 0, 0, 0); private static readonly Padding _contentPaddingToolTip = new Padding(2); private static readonly Padding _contentPaddingSuperTip = new Padding(4); private static readonly Padding _contentPaddingKeyTip = new Padding(0, -1, 0, -3); diff --git a/Source/Krypton Components/Krypton.Toolkit/Palette Builtin/Office 2010/Official Themes/PaletteOffice2010Black.cs b/Source/Krypton Components/Krypton.Toolkit/Palette Builtin/Office 2010/Official Themes/PaletteOffice2010Black.cs index 26d6fcf7e..2bc66bb5e 100644 --- a/Source/Krypton Components/Krypton.Toolkit/Palette Builtin/Office 2010/Official Themes/PaletteOffice2010Black.cs +++ b/Source/Krypton Components/Krypton.Toolkit/Palette Builtin/Office 2010/Official Themes/PaletteOffice2010Black.cs @@ -522,7 +522,7 @@ public abstract class PaletteOffice2010BlackBase : PaletteBase private static readonly Padding _contentPaddingButton7 = new Padding(1, 1, 0, 1); private static readonly Padding _contentPaddingButtonForm = new Padding(0); private static readonly Padding _contentPaddingButtonGallery = new Padding(1, 0, 1, 0); - private static readonly Padding _contentPaddingButtonListItem = new Padding(0, -1, 0, -1); + private static readonly Padding _contentPaddingButtonListItem = new Padding(0, 0, 0, 0); private static readonly Padding _contentPaddingToolTip = new Padding(2); private static readonly Padding _contentPaddingSuperTip = new Padding(4); private static readonly Padding _contentPaddingKeyTip = new Padding(0, -1, 0, -3); diff --git a/Source/Krypton Components/Krypton.Toolkit/Palette Builtin/Office 2013/Bases/PaletteOffice2013Base.cs b/Source/Krypton Components/Krypton.Toolkit/Palette Builtin/Office 2013/Bases/PaletteOffice2013Base.cs index 4de335b6d..3ee51c027 100644 --- a/Source/Krypton Components/Krypton.Toolkit/Palette Builtin/Office 2013/Bases/PaletteOffice2013Base.cs +++ b/Source/Krypton Components/Krypton.Toolkit/Palette Builtin/Office 2013/Bases/PaletteOffice2013Base.cs @@ -38,7 +38,7 @@ public abstract class PaletteOffice2013Base : PaletteBase private static readonly Padding _contentPaddingButton7 = new Padding(1, 1, 0, 1); private static readonly Padding _contentPaddingButtonForm = new Padding(0); private static readonly Padding _contentPaddingButtonGallery = new Padding(1, 0, 1, 0); - private static readonly Padding _contentPaddingButtonListItem = new Padding(0, -1, 0, -1); + private static readonly Padding _contentPaddingButtonListItem = new Padding(0, 0, 0, 0); private static readonly Padding _contentPaddingToolTip = new Padding(2); private static readonly Padding _contentPaddingSuperTip = new Padding(4); private static readonly Padding _contentPaddingKeyTip = new Padding(0, -1, 0, -3); diff --git a/Source/Krypton Components/Krypton.Toolkit/Palette Builtin/Office 2013/Official Themes/PaletteOffice2013White.cs b/Source/Krypton Components/Krypton.Toolkit/Palette Builtin/Office 2013/Official Themes/PaletteOffice2013White.cs index 1b45840d9..84c63f972 100644 --- a/Source/Krypton Components/Krypton.Toolkit/Palette Builtin/Office 2013/Official Themes/PaletteOffice2013White.cs +++ b/Source/Krypton Components/Krypton.Toolkit/Palette Builtin/Office 2013/Official Themes/PaletteOffice2013White.cs @@ -489,7 +489,7 @@ public abstract class PaletteOffice2013WhiteBase : PaletteBase private static readonly Padding _contentPaddingButton7 = new Padding(1, 1, 0, 1); private static readonly Padding _contentPaddingButtonForm = new Padding(0); private static readonly Padding _contentPaddingButtonGallery = new Padding(1, 0, 1, 0); - private static readonly Padding _contentPaddingButtonListItem = new Padding(0, -1, 0, -1); + private static readonly Padding _contentPaddingButtonListItem = new Padding(0, 0, 0, 0); private static readonly Padding _contentPaddingToolTip = new Padding(2); private static readonly Padding _contentPaddingSuperTip = new Padding(4); private static readonly Padding _contentPaddingKeyTip = new Padding(0, -1, 0, -3); diff --git a/Source/Krypton Components/Krypton.Toolkit/Palette Builtin/Sparkle/Base/PaletteSparkleBase.cs b/Source/Krypton Components/Krypton.Toolkit/Palette Builtin/Sparkle/Base/PaletteSparkleBase.cs index 379bcd716..7174fd322 100644 --- a/Source/Krypton Components/Krypton.Toolkit/Palette Builtin/Sparkle/Base/PaletteSparkleBase.cs +++ b/Source/Krypton Components/Krypton.Toolkit/Palette Builtin/Sparkle/Base/PaletteSparkleBase.cs @@ -38,7 +38,7 @@ public class PaletteSparkleBase : PaletteBase private static readonly Padding _contentPaddingButton7 = new Padding(1, 1, 0, 1); private static readonly Padding _contentPaddingButtonForm = new Padding(0); private static readonly Padding _contentPaddingButtonGallery = new Padding(3, 0, 3, 0); - private static readonly Padding _contentPaddingButtonListItem = new Padding(0, -1, 0, -1); + private static readonly Padding _contentPaddingButtonListItem = new Padding(0, 0, 0, 0); private static readonly Padding _contentPaddingToolTip = new Padding(2); private static readonly Padding _contentPaddingSuperTip = new Padding(4); private static readonly Padding _contentPaddingKeyTip = new Padding(0, -1, 0, -3); diff --git a/Source/Krypton Components/Krypton.Toolkit/Palette Builtin/Sparkle/Extra Themes/PaletteSparkleBlueDarkMode.cs b/Source/Krypton Components/Krypton.Toolkit/Palette Builtin/Sparkle/Extra Themes/PaletteSparkleBlueDarkMode.cs index df3d39a43..acee202ee 100644 --- a/Source/Krypton Components/Krypton.Toolkit/Palette Builtin/Sparkle/Extra Themes/PaletteSparkleBlueDarkMode.cs +++ b/Source/Krypton Components/Krypton.Toolkit/Palette Builtin/Sparkle/Extra Themes/PaletteSparkleBlueDarkMode.cs @@ -413,7 +413,7 @@ public abstract class PaletteSparkleBlueDarkModeBase : PaletteBase private static readonly Padding _contentPaddingButton7 = new Padding(1, 1, 0, 1); private static readonly Padding _contentPaddingButtonForm = new Padding(0); private static readonly Padding _contentPaddingButtonGallery = new Padding(3, 0, 3, 0); - private static readonly Padding _contentPaddingButtonListItem = new Padding(0, -1, 0, -1); + private static readonly Padding _contentPaddingButtonListItem = new Padding(0, 0, 0, 0); private static readonly Padding _contentPaddingToolTip = new Padding(2); private static readonly Padding _contentPaddingSuperTip = new Padding(4); private static readonly Padding _contentPaddingKeyTip = new Padding(0, -1, 0, -3); diff --git a/Source/Krypton Components/Krypton.Toolkit/Palette Builtin/Visual Studio/Base/PaletteVisualStudioBase.cs b/Source/Krypton Components/Krypton.Toolkit/Palette Builtin/Visual Studio/Base/PaletteVisualStudioBase.cs index 8602a7cc7..dc5780610 100644 --- a/Source/Krypton Components/Krypton.Toolkit/Palette Builtin/Visual Studio/Base/PaletteVisualStudioBase.cs +++ b/Source/Krypton Components/Krypton.Toolkit/Palette Builtin/Visual Studio/Base/PaletteVisualStudioBase.cs @@ -37,7 +37,7 @@ public abstract class PaletteVisualStudioBase : PaletteBase private static readonly Padding _contentPaddingButton7 = new Padding(1, 1, 0, 1); private static readonly Padding _contentPaddingButtonForm = new Padding(0); private static readonly Padding _contentPaddingButtonGallery = new Padding(1, 0, 1, 0); - private static readonly Padding _contentPaddingButtonListItem = new Padding(0, -1, 0, -1); + private static readonly Padding _contentPaddingButtonListItem = new Padding(0, 0, 0, 0); private static readonly Padding _contentPaddingToolTip = new Padding(2); private static readonly Padding _contentPaddingSuperTip = new Padding(4); private static readonly Padding _contentPaddingKeyTip = new Padding(0, -1, 0, -3); diff --git a/Source/Krypton Components/Krypton.Toolkit/Palette Builtin/Visual Studio/Base/Visual Studio 2010/Renderers/2007/PaletteVisualStudio2010With2007Base.cs b/Source/Krypton Components/Krypton.Toolkit/Palette Builtin/Visual Studio/Base/Visual Studio 2010/Renderers/2007/PaletteVisualStudio2010With2007Base.cs index b102dc297..644015aad 100644 --- a/Source/Krypton Components/Krypton.Toolkit/Palette Builtin/Visual Studio/Base/Visual Studio 2010/Renderers/2007/PaletteVisualStudio2010With2007Base.cs +++ b/Source/Krypton Components/Krypton.Toolkit/Palette Builtin/Visual Studio/Base/Visual Studio 2010/Renderers/2007/PaletteVisualStudio2010With2007Base.cs @@ -34,7 +34,7 @@ public abstract class PaletteVisualStudio2010With2007Base : PaletteBase private static readonly Padding _contentPaddingButton7 = new Padding(1, 1, 0, 1); private static readonly Padding _contentPaddingButtonForm = new Padding(0); private static readonly Padding _contentPaddingButtonGallery = new Padding(1, 0, 1, 0); - private static readonly Padding _contentPaddingButtonListItem = new Padding(0, -1, 0, -1); + private static readonly Padding _contentPaddingButtonListItem = new Padding(0, 0, 0, 0); private static readonly Padding _contentPaddingToolTip = new Padding(2); private static readonly Padding _contentPaddingSuperTip = new Padding(4); private static readonly Padding _contentPaddingKeyTip = new Padding(0, -1, 0, -3); diff --git a/Source/Krypton Components/Krypton.Toolkit/Palette Builtin/Visual Studio/Base/Visual Studio 2010/Renderers/2010/PaletteVisualStudio2010With2010Base.cs b/Source/Krypton Components/Krypton.Toolkit/Palette Builtin/Visual Studio/Base/Visual Studio 2010/Renderers/2010/PaletteVisualStudio2010With2010Base.cs index 5ea2d35ba..685ff7c1f 100644 --- a/Source/Krypton Components/Krypton.Toolkit/Palette Builtin/Visual Studio/Base/Visual Studio 2010/Renderers/2010/PaletteVisualStudio2010With2010Base.cs +++ b/Source/Krypton Components/Krypton.Toolkit/Palette Builtin/Visual Studio/Base/Visual Studio 2010/Renderers/2010/PaletteVisualStudio2010With2010Base.cs @@ -34,7 +34,7 @@ public abstract class PaletteVisualStudio2010With2010Base : PaletteBase private static readonly Padding _contentPaddingButton7 = new Padding(1, 1, 0, 1); private static readonly Padding _contentPaddingButtonForm = new Padding(0); private static readonly Padding _contentPaddingButtonGallery = new Padding(1, 0, 1, 0); - private static readonly Padding _contentPaddingButtonListItem = new Padding(0, -1, 0, -1); + private static readonly Padding _contentPaddingButtonListItem = new Padding(0, 0, 0, 0); private static readonly Padding _contentPaddingToolTip = new Padding(2); private static readonly Padding _contentPaddingSuperTip = new Padding(4); private static readonly Padding _contentPaddingKeyTip = new Padding(0, -1, 0, -3); diff --git a/Source/Krypton Components/Krypton.Toolkit/Palette Builtin/Visual Studio/Base/Visual Studio 2010/Renderers/2013/PaletteVisualStudio2010With2013Base.cs b/Source/Krypton Components/Krypton.Toolkit/Palette Builtin/Visual Studio/Base/Visual Studio 2010/Renderers/2013/PaletteVisualStudio2010With2013Base.cs index cc1b8f58a..b5c3ad480 100644 --- a/Source/Krypton Components/Krypton.Toolkit/Palette Builtin/Visual Studio/Base/Visual Studio 2010/Renderers/2013/PaletteVisualStudio2010With2013Base.cs +++ b/Source/Krypton Components/Krypton.Toolkit/Palette Builtin/Visual Studio/Base/Visual Studio 2010/Renderers/2013/PaletteVisualStudio2010With2013Base.cs @@ -34,7 +34,7 @@ public abstract class PaletteVisualStudio2010With2013Base : PaletteBase private static readonly Padding _contentPaddingButton7 = new Padding(1, 1, 0, 1); private static readonly Padding _contentPaddingButtonForm = new Padding(0); private static readonly Padding _contentPaddingButtonGallery = new Padding(1, 0, 1, 0); - private static readonly Padding _contentPaddingButtonListItem = new Padding(0, -1, 0, -1); + private static readonly Padding _contentPaddingButtonListItem = new Padding(0, 0, 0, 0); private static readonly Padding _contentPaddingToolTip = new Padding(2); private static readonly Padding _contentPaddingSuperTip = new Padding(4); private static readonly Padding _contentPaddingKeyTip = new Padding(0, -1, 0, -3); diff --git a/Source/Krypton Components/Krypton.Toolkit/Palette Builtin/Visual Studio/Base/Visual Studio 2010/Renderers/365/PaletteVisualStudio2010With365Base.cs b/Source/Krypton Components/Krypton.Toolkit/Palette Builtin/Visual Studio/Base/Visual Studio 2010/Renderers/365/PaletteVisualStudio2010With365Base.cs index f9752f57b..04eb2c93e 100644 --- a/Source/Krypton Components/Krypton.Toolkit/Palette Builtin/Visual Studio/Base/Visual Studio 2010/Renderers/365/PaletteVisualStudio2010With365Base.cs +++ b/Source/Krypton Components/Krypton.Toolkit/Palette Builtin/Visual Studio/Base/Visual Studio 2010/Renderers/365/PaletteVisualStudio2010With365Base.cs @@ -34,7 +34,7 @@ public abstract class PaletteVisualStudio2010With365Base : PaletteBase private static readonly Padding _contentPaddingButton7 = new Padding(1, 1, 0, 1); private static readonly Padding _contentPaddingButtonForm = new Padding(0); private static readonly Padding _contentPaddingButtonGallery = new Padding(1, 0, 1, 0); - private static readonly Padding _contentPaddingButtonListItem = new Padding(0, -1, 0, -1); + private static readonly Padding _contentPaddingButtonListItem = new Padding(0, 0, 0, 0); private static readonly Padding _contentPaddingToolTip = new Padding(2); private static readonly Padding _contentPaddingSuperTip = new Padding(4); private static readonly Padding _contentPaddingKeyTip = new Padding(0, -1, 0, -3);