[Libreoffice-commits] core.git: sfx2/source
andreas kainz (via logerrit)
logerrit at kemper.freedesktop.org
Thu Sep 24 18:38:23 UTC 2020
sfx2/source/sidebar/Theme.cxx | 28 +++-------------------------
1 file changed, 3 insertions(+), 25 deletions(-)
New commits:
commit cc2060fb21d48d775e5a85b9080c10589ab7287e
Author: andreas kainz <kainz.a at gmail.com>
AuthorDate: Thu Sep 24 17:04:02 2020 +0200
Commit: Andreas Kainz <kainz.a at gmail.com>
CommitDate: Thu Sep 24 20:37:39 2020 +0200
tdf#133690 Cleanup Sidebar theme
Change-Id: Ic639637d2556f0224c5c2ed85d632b7ca415ff3a
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/103322
Tested-by: Jenkins
Reviewed-by: Andreas Kainz <kainz.a at gmail.com>
diff --git a/sfx2/source/sidebar/Theme.cxx b/sfx2/source/sidebar/Theme.cxx
index ac38db8f21e2..ce32455b0093 100644
--- a/sfx2/source/sidebar/Theme.cxx
+++ b/sfx2/source/sidebar/Theme.cxx
@@ -166,27 +166,9 @@ void Theme::UpdateTheme()
setPropertyValue(
maPropertyIdToNameMap[Paint_DeckTitleBarBackground],
Any(sal_Int32(aBaseBackgroundColor.GetRGBColor())));
- setPropertyValue(
- maPropertyIdToNameMap[Int_DeckLeftPadding],
- Any(sal_Int32(2)));
- setPropertyValue(
- maPropertyIdToNameMap[Int_DeckTopPadding],
- Any(sal_Int32(2)));
- setPropertyValue(
- maPropertyIdToNameMap[Int_DeckRightPadding],
- Any(sal_Int32(2)));
- setPropertyValue(
- maPropertyIdToNameMap[Int_DeckBottomPadding],
- Any(sal_Int32(2)));
- setPropertyValue(
- maPropertyIdToNameMap[Int_DeckBorderSize],
- Any(sal_Int32(1)));
setPropertyValue(
maPropertyIdToNameMap[Int_DeckSeparatorHeight],
Any(sal_Int32(1)));
- setPropertyValue(
- maPropertyIdToNameMap[Int_ButtonCornerRadius],
- Any(sal_Int32(3)));
setPropertyValue(
maPropertyIdToNameMap[Color_DeckTitleFont],
Any(sal_Int32(rStyle.GetFontColor().GetRGBColor())));
@@ -202,11 +184,7 @@ void Theme::UpdateTheme()
setPropertyValue(
maPropertyIdToNameMap[Paint_PanelTitleBarBackground],
- Any(Tools::VclToAwtGradient(Gradient(
- GradientStyle::Linear,
- aSecondColor.GetRGBColor(),
- aBaseBackgroundColor.GetRGBColor()
- ))));
+ Any(sal_Int32(aSecondColor.GetRGBColor())));
setPropertyValue(
maPropertyIdToNameMap[Color_PanelTitleFont],
Any(sal_Int32(mbIsHighContrastMode ? 0x00ff00 : 0x262626)));
@@ -234,13 +212,13 @@ void Theme::UpdateTheme()
setPropertyValue(
maPropertyIdToNameMap[Int_TabMenuPadding],
- Any(sal_Int32(6)));
+ Any(sal_Int32(3)));
setPropertyValue(
maPropertyIdToNameMap[Color_TabMenuSeparator],
Any(sal_Int32(aBorderColor.GetRGBColor())));
setPropertyValue(
maPropertyIdToNameMap[Int_TabMenuSeparatorPadding],
- Any(sal_Int32(7)));
+ Any(sal_Int32(3)));
setPropertyValue(
maPropertyIdToNameMap[Int_TabItemWidth],
More information about the Libreoffice-commits
mailing list