diff options
author | Jim Raykowski <raykowj@gmail.com> | 2024-02-24 19:42:36 -0900 |
---|---|---|
committer | Jim Raykowski <raykowj@gmail.com> | 2024-02-25 18:28:08 +0100 |
commit | a75ad49a45e7b632820de2f046534b7ff2687424 (patch) | |
tree | eabd88622b953b96b21edf48b0bfe962670dc2db /sw/uiconfig/swriter | |
parent | fe47872aa8380567af7f453b9d3466cf7acd0d12 (diff) |
tdf#159875 SwNavigator: improve toggle master view visibility handling
This patch sets the visibility of the toolbar container that contains
the 'Toggle Master View' toolbutton in the first row of the Navigator's
toolbox tools as opposed to the current method of setting the
toolbutton item visibility. In this way extra space is not given to the
toolbar when it is not visible.
Change-Id: I6f2ff97728698b3de4812bb9524b2489beac24ff
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/163898
Tested-by: Jenkins
Reviewed-by: Jim Raykowski <raykowj@gmail.com>
Diffstat (limited to 'sw/uiconfig/swriter')
-rw-r--r-- | sw/uiconfig/swriter/ui/navigatorpanel.ui | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/sw/uiconfig/swriter/ui/navigatorpanel.ui b/sw/uiconfig/swriter/ui/navigatorpanel.ui index 6b7a198e601a..829b082623ef 100644 --- a/sw/uiconfig/swriter/ui/navigatorpanel.ui +++ b/sw/uiconfig/swriter/ui/navigatorpanel.ui @@ -209,7 +209,6 @@ <property name="can-focus">False</property> <property name="hexpand">True</property> <property name="row-spacing">6</property> - <property name="column-spacing">12</property> <child> <object class="GtkBox" id="gridcontent16"> <property name="visible">True</property> @@ -224,12 +223,11 @@ <property name="column-spacing">3</property> <child> <object class="GtkToolbar" id="content1"> - <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"> + <object class="GtkToolButton" id="contenttoggle"> <property name="visible">True</property> <property name="can-focus">False</property> <property name="tooltip-text" translatable="yes" context="navigatorpanel|contenttoggle|tooltip_text">Toggle Master View</property> |