diff options
author | Tomaž Vajngerl <tomaz.vajngerl@collabora.co.uk> | 2021-03-17 16:35:19 +0900 |
---|---|---|
committer | Tomaž Vajngerl <quikee@gmail.com> | 2021-03-21 02:35:10 +0100 |
commit | 7cd99750a3174c7953d851eb9b5c4b5675aa0d0e (patch) | |
tree | 797175f4740dac23e50b4a7760ecd475cd53027e /sfx2/uiconfig | |
parent | 07996bcca53939af02921a3d4681c6c7d62a0e40 (diff) |
devtools: change "Current Selection" button to toolbar
Change "Current Selection" toggle button and add it to the toolbar
instead.
Change-Id: Id891c4a324832f23f52449328d0f7eda6a862993
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/112639
Tested-by: Jenkins
Reviewed-by: Tomaž Vajngerl <quikee@gmail.com>
Diffstat (limited to 'sfx2/uiconfig')
-rw-r--r-- | sfx2/uiconfig/ui/developmenttool.ui | 31 |
1 files changed, 18 insertions, 13 deletions
diff --git a/sfx2/uiconfig/ui/developmenttool.ui b/sfx2/uiconfig/ui/developmenttool.ui index 62df00e9d708..b73ad19bbe68 100644 --- a/sfx2/uiconfig/ui/developmenttool.ui +++ b/sfx2/uiconfig/ui/developmenttool.ui @@ -81,6 +81,7 @@ <property name="vexpand">True</property> <child> <object class="GtkScrolledWindow"> + <property name="width-request">200</property> <property name="visible">True</property> <property name="can-focus">True</property> <property name="hexpand">True</property> @@ -125,26 +126,29 @@ <property name="border-width">3</property> <property name="spacing">12</property> <child> - <object class="GtkToggleButton" id="dom_selection_toggle"> - <property name="label" translatable="yes" context="developmenttool|dom_selection_toggle">Current Selection</property> - <property name="visible">True</property> - <property name="can-focus">True</property> - <property name="receives-default">True</property> - </object> - <packing> - <property name="expand">False</property> - <property name="fill">True</property> - <property name="position">0</property> - </packing> - </child> - <child> <object class="GtkToolbar" id="dom_toolbar"> <property name="visible">True</property> <property name="can-focus">False</property> + <property name="toolbar-style">both-horiz</property> + <property name="show-arrow">False</property> + <child> + <object class="GtkToggleToolButton" id="dom_current_selection_toggle"> + <property name="visible">True</property> + <property name="can-focus">False</property> + <property name="tooltip-text" translatable="yes" context="developmenttool|dom_current_selection_toggle-tooltip">Current Selection In Document</property> + <property name="label" translatable="yes" context="developmenttool|dom_current_selection_toggle">Current Selection</property> + <property name="use-underline">True</property> + </object> + <packing> + <property name="expand">False</property> + <property name="homogeneous">True</property> + </packing> + </child> <child> <object class="GtkToolButton" id="dom_refresh_button"> <property name="visible">True</property> <property name="can-focus">False</property> + <property name="tooltip-text" translatable="yes" context="developmenttool|dom_refresh_button-tooltip">Refresh Document Model Tree View</property> <property name="label" translatable="yes" context="developmenttool|dom_refresh_button">Refresh</property> <property name="use-underline">True</property> <property name="icon-name">cmd/lc_reload.png</property> @@ -193,6 +197,7 @@ <property name="visible">True</property> <property name="can-focus">False</property> <property name="toolbar-style">icons</property> + <property name="show-arrow">False</property> <child> <object class="GtkToolButton" id="back"> <property name="visible">True</property> |