[Libreoffice-commits] core.git: 2 commits - sc/source sw/uiconfig
Tünde Tóth (via logerrit)
logerrit at kemper.freedesktop.org
Fri Mar 19 20:03:09 UTC 2021
sc/source/ui/cctrl/dpcontrol.cxx | 6 ++++--
sw/uiconfig/swriter/ui/navigatorpanel.ui | 5 +++++
2 files changed, 9 insertions(+), 2 deletions(-)
New commits:
commit aad8b94ed6494e19611a779aed74adca931d14aa
Author: Tünde Tóth <toth.tunde at nisz.hu>
AuthorDate: Fri Mar 12 11:33:54 2021 +0100
Commit: László Németh <nemeth at numbertext.org>
CommitDate: Fri Mar 19 21:02:42 2021 +0100
tdf#140955 sc UI: highlight active autofilter dropdown
arrow by inverting its colors, as suggested by Heiko Tietze.
The small difference in the active and inactive arrow shapes
(a dot in the corner) is much more visible this way.
Change-Id: I784fcb809549b22930037d28e007c2a42dcff337
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/112378
Tested-by: László Németh <nemeth at numbertext.org>
Reviewed-by: László Németh <nemeth at numbertext.org>
diff --git a/sc/source/ui/cctrl/dpcontrol.cxx b/sc/source/ui/cctrl/dpcontrol.cxx
index d7dd13dd5c4e..0419b785b712 100644
--- a/sc/source/ui/cctrl/dpcontrol.cxx
+++ b/sc/source/ui/cctrl/dpcontrol.cxx
@@ -175,12 +175,14 @@ void ScDPFieldButton::drawPopupButton()
// Background & outer black border
mpOutDev->SetLineColor(COL_BLACK);
- Color aBackgroundColor = mbPopupPressed ? mpStyle->GetShadowColor() : mpStyle->GetFaceColor();
+ Color aBackgroundColor
+ = mbHasHiddenMember ? mpStyle->GetHighlightColor()
+ : mbPopupPressed ? mpStyle->GetShadowColor() : mpStyle->GetFaceColor();
mpOutDev->SetFillColor(aBackgroundColor);
mpOutDev->DrawRect(tools::Rectangle(aPos, aSize));
// the arrowhead
- Color aArrowColor = mbHasHiddenMember ? mpStyle->GetHighlightLinkColor() : mpStyle->GetButtonTextColor();
+ Color aArrowColor = mbHasHiddenMember ? mpStyle->GetHighlightTextColor() : mpStyle->GetButtonTextColor();
mpOutDev->SetLineColor(aArrowColor);
mpOutDev->SetFillColor(aArrowColor);
commit c3e703d115981cf9a7e9a2be493eec2ef3f3b95e
Author: Caolán McNamara <caolanm at redhat.com>
AuthorDate: Fri Mar 19 13:11:15 2021 +0000
Commit: Caolán McNamara <caolanm at redhat.com>
CommitDate: Fri Mar 19 21:02:26 2021 +0100
don't hide toolbar item widgets if the pane shrinks
Change-Id: Iac5df0f0233c9e97f84dce8a479cb50b944f45db
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/112746
Tested-by: Jenkins
Reviewed-by: Caolán McNamara <caolanm at redhat.com>
diff --git a/sw/uiconfig/swriter/ui/navigatorpanel.ui b/sw/uiconfig/swriter/ui/navigatorpanel.ui
index e8aa7fdc66fe..936df34e1d52 100644
--- a/sw/uiconfig/swriter/ui/navigatorpanel.ui
+++ b/sw/uiconfig/swriter/ui/navigatorpanel.ui
@@ -250,6 +250,7 @@
<property name="hexpand">True</property>
<property name="orientation">vertical</property>
<child>
+ <!-- n-columns=4 n-rows=1 -->
<object class="GtkGrid">
<property name="visible">True</property>
<property name="can_focus">False</property>
@@ -258,6 +259,7 @@
<property name="visible">True</property>
<property name="can_focus">True</property>
<property name="toolbar_style">icons</property>
+ <property name="show-arrow">False</property>
<child>
<object class="GtkToggleToolButton" id="contenttoggle">
<property name="visible">True</property>
@@ -287,6 +289,7 @@
<property name="can_focus">True</property>
<property name="hexpand">True</property>
<property name="toolbar_style">icons</property>
+ <property name="show-arrow">False</property>
<child>
<object class="GtkToolItem" id=".uno:NavElement">
<property name="visible">True</property>
@@ -331,6 +334,7 @@
<property name="visible">True</property>
<property name="can_focus">True</property>
<property name="toolbar_style">icons</property>
+ <property name="show-arrow">False</property>
<child>
<object class="GtkToolButton" id=".uno:ScrollToPrevious">
<property name="visible">True</property>
@@ -363,6 +367,7 @@
<property name="can_focus">True</property>
<property name="hexpand">True</property>
<property name="toolbar_style">icons</property>
+ <property name="show-arrow">False</property>
<child>
<object class="GtkToolItem" id="contentedit">
<property name="visible">True</property>
More information about the Libreoffice-commits
mailing list