sfx2/source/sidebar/Theme.cxx | 28 +++------------------------- 1 file changed, 3 insertions(+), 25 deletions(-)
New commits: commit cc2060fb21d48d775e5a85b9080c10589ab7287e Author: andreas kainz <kain...@gmail.com> AuthorDate: Thu Sep 24 17:04:02 2020 +0200 Commit: Andreas Kainz <kain...@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 <kain...@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], _______________________________________________ Libreoffice-commits mailing list libreoffice-comm...@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits