diff options
author | Szymon Kłos <eszkadev@gmail.com> | 2017-03-28 10:40:16 +0200 |
---|---|---|
committer | Samuel Mehrbrodt <Samuel.Mehrbrodt@cib.de> | 2017-04-04 15:40:30 +0000 |
commit | 387cdc35d79cd3dd235e4bb61e01e17d8781630a (patch) | |
tree | cd6c834dd8961c746a1c360fd4552d84bf213f80 /sw/uiconfig | |
parent | d9064ecf03b28a0b5015ccac20c2d0fa5bb66767 (diff) |
Notebookbar: Separated paragraph spacing controls
One big paragraph spacing control was splitted
to separated widgets. It will be possible to
reuse that in the sidebar. Also layout is better
because explicit size setting is no longer needed.
Change-Id: Ieb200af4a9a6120ae03b22b27da56256aa816193
Reviewed-on: https://gerrit.libreoffice.org/35801
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Samuel Mehrbrodt <Samuel.Mehrbrodt@cib.de>
Diffstat (limited to 'sw/uiconfig')
-rw-r--r-- | sw/uiconfig/swriter/ui/notebookbar.ui | 91 |
1 files changed, 66 insertions, 25 deletions
diff --git a/sw/uiconfig/swriter/ui/notebookbar.ui b/sw/uiconfig/swriter/ui/notebookbar.ui index 9313942dc3b7..9b53ceefd75d 100644 --- a/sw/uiconfig/swriter/ui/notebookbar.ui +++ b/sw/uiconfig/swriter/ui/notebookbar.ui @@ -2653,26 +2653,35 @@ <property name="orientation">horizontal</property> <property name="valign">center</property> <child> - <object class="sfxlo-NotebookbarToolBox" id="ulspacing"> - <property name="width_request">200</property> - <property name="height_request">75</property> + <object class="GtkBox" id="box160"> <property name="visible">True</property> <property name="can_focus">False</property> - <property name="has_tooltip">True</property> - <property name="tooltip_text" translatable="yes">Indent</property> + <property name="orientation">vertical</property> <child> - <object class="GtkToolButton" id="ULSpacing"> - <property name="use_action_appearance">False</property> + <object class="sfxlo-NotebookbarToolBox" id="ulspacing"> <property name="visible">True</property> <property name="can_focus">False</property> - <property name="halign">start</property> - <property name="is_important">True</property> - <property name="action_name">.uno:ULSpacing</property> - <property name="use_underline">True</property> + <property name="has_tooltip">True</property> + <property name="tooltip_text" translatable="yes">Indent</property> + <child> + <object class="GtkToolButton" id="ULSpacing"> + <property name="use_action_appearance">False</property> + <property name="visible">True</property> + <property name="can_focus">False</property> + <property name="halign">start</property> + <property name="is_important">True</property> + <property name="action_name">.uno:ULSpacing</property> + <property name="use_underline">True</property> + </object> + <packing> + <property name="expand">True</property> + </packing> + </child> </object> <packing> <property name="expand">False</property> - <property name="homogeneous">True</property> + <property name="fill">True</property> + <property name="position">0</property> </packing> </child> </object> @@ -2683,33 +2692,65 @@ </packing> </child> <child> - <object class="sfxlo-NotebookbarToolBox" id="lrspacing"> - <property name="width_request">200</property> - <property name="height_request">75</property> + <object class="GtkBox" id="box161"> <property name="visible">True</property> <property name="can_focus">False</property> - <property name="has_tooltip">True</property> - <property name="tooltip_text" translatable="yes">Indent</property> + <property name="orientation">vertical</property> <child> - <object class="GtkToolButton" id="LeftRightParaMargin"> - <property name="use_action_appearance">False</property> + <object class="sfxlo-NotebookbarToolBox" id="leftspacing"> <property name="visible">True</property> <property name="can_focus">False</property> - <property name="halign">start</property> - <property name="is_important">True</property> - <property name="action_name">.uno:LeftRightParaMargin</property> - <property name="use_underline">True</property> + <child> + <object class="GtkToolButton" id="LeftParaMargin"> + <property name="use_action_appearance">False</property> + <property name="visible">True</property> + <property name="can_focus">False</property> + <property name="halign">start</property> + <property name="is_important">True</property> + <property name="action_name">.uno:LeftParaMargin</property> + <property name="use_underline">True</property> + </object> + <packing> + <property name="expand">True</property> + </packing> + </child> </object> <packing> <property name="expand">False</property> - <property name="homogeneous">True</property> + <property name="fill">True</property> + <property name="position">1</property> + </packing> + </child> + <child> + <object class="sfxlo-NotebookbarToolBox" id="rightspacing"> + <property name="visible">True</property> + <property name="can_focus">False</property> + <child> + <object class="GtkToolButton" id="RightParaMargin"> + <property name="use_action_appearance">False</property> + <property name="visible">True</property> + <property name="can_focus">False</property> + <property name="halign">start</property> + <property name="is_important">True</property> + <property name="action_name">.uno:RightParaMargin</property> + <property name="use_underline">True</property> + </object> + <packing> + <property name="expand">True</property> + </packing> + </child> + </object> + <packing> + <property name="expand">False</property> + <property name="fill">True</property> + <property name="position">1</property> </packing> </child> </object> <packing> <property name="expand">False</property> <property name="fill">True</property> - <property name="position">1</property> + <property name="position">0</property> </packing> </child> </object> |