diff options
author | andreas kainz <kainz.a@gmail.com> | 2020-01-18 13:48:01 +0100 |
---|---|---|
committer | andreas_kainz <kainz.a@gmail.com> | 2020-01-20 22:36:02 +0100 |
commit | 77bba5b6b9f12fc0970918f5073c52775a48603c (patch) | |
tree | 5938d7d1cb276eb76820581fe2c48ebf567437de | |
parent | 0453eb32b9055fe27fcb7b9cef22c46d32e59196 (diff) |
calc sidebar alignment update
Change-Id: Ia8d0771766ef1c59a3473e3bc70cea39bb4cf37e
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/87015
Tested-by: Jenkins
Reviewed-by: andreas_kainz <kainz.a@gmail.com>
-rw-r--r-- | sc/uiconfig/scalc/ui/sidebaralignment.ui | 330 |
1 files changed, 145 insertions, 185 deletions
diff --git a/sc/uiconfig/scalc/ui/sidebaralignment.ui b/sc/uiconfig/scalc/ui/sidebaralignment.ui index 0dbc47294d13..0ced578a0d95 100644 --- a/sc/uiconfig/scalc/ui/sidebaralignment.ui +++ b/sc/uiconfig/scalc/ui/sidebaralignment.ui @@ -29,20 +29,20 @@ <object class="GtkGrid" id="AlignmentPropertyPanel"> <property name="visible">True</property> <property name="can_focus">False</property> - <property name="row_homogeneous">True</property> - <property name="column_homogeneous">True</property> <child> - <object class="GtkBox" id="box1"> + <object class="GtkGrid"> <property name="visible">True</property> <property name="can_focus">False</property> + <property name="hexpand">True</property> <property name="border_width">6</property> - <property name="orientation">vertical</property> - <property name="spacing">10</property> + <property name="row_spacing">3</property> + <property name="column_spacing">6</property> <child> <object class="GtkBox" id="box3"> <property name="visible">True</property> <property name="can_focus">False</property> - <property name="spacing">6</property> + <property name="hexpand">True</property> + <property name="spacing">3</property> <child> <object class="GtkToolbar" id="horizontalalignment"> <property name="visible">True</property> @@ -195,181 +195,127 @@ </child> </object> <packing> - <property name="expand">False</property> - <property name="fill">True</property> - <property name="position">0</property> + <property name="left_attach">0</property> + <property name="top_attach">0</property> + <property name="width">2</property> </packing> </child> <child> - <object class="GtkBox" id="box5"> + <object class="GtkSpinButton" id="orientationdegrees"> <property name="visible">True</property> - <property name="can_focus">False</property> - <property name="spacing">12</property> + <property name="can_focus">True</property> + <property name="tooltip_text" translatable="yes" context="sidebaralignment|orientationdegrees|tooltip_text">Select the angle for rotation.</property> + <property name="halign">end</property> + <property name="adjustment">adjustmentSpinDegrees</property> + <property name="wrap">True</property> + <child internal-child="accessible"> + <object class="AtkObject" id="orientationdegrees-atkobject"> + <property name="AtkObject::accessible-name" translatable="yes" context="sidebaralignment|orientationdegrees-atkobject">Text Orientation</property> + </object> + </child> + </object> + <packing> + <property name="left_attach">1</property> + <property name="top_attach">4</property> + </packing> + </child> + <child> + <object class="GtkSpinButton" id="leftindent"> + <property name="visible">True</property> + <property name="can_focus">True</property> + <property name="tooltip_text" translatable="yes" context="sidebaralignment|leftindent|tooltip_text">Indents from the left edge.</property> + <property name="halign">end</property> + <property name="valign">center</property> + <property name="adjustment">adjustmentIndent</property> + <child internal-child="accessible"> + <object class="AtkObject" id="leftindent-atkobject"> + <property name="AtkObject::accessible-name" translatable="yes" context="sidebaralignment|leftindent-atkobject">Left Indent</property> + </object> + </child> + </object> + <packing> + <property name="left_attach">1</property> + <property name="top_attach">1</property> + </packing> + </child> + <child> + <object class="GtkToolbar" id="indentbuttons"> + <property name="visible">True</property> + <property name="can_focus">True</property> + <property name="toolbar_style">icons</property> + <property name="show_arrow">False</property> + <property name="icon_size">2</property> <child> - <object class="GtkBox" id="box6"> + <object class="GtkToolButton" id=".uno:IncrementIndent"> <property name="visible">True</property> <property name="can_focus">False</property> - <property name="orientation">vertical</property> - <property name="spacing">6</property> - <child> - <object class="GtkGrid" id="grid2"> - <property name="visible">True</property> - <property name="can_focus">False</property> - <property name="column_spacing">6</property> - <child> - <object class="GtkToolbar" id="indentbuttons"> - <property name="visible">True</property> - <property name="can_focus">True</property> - <property name="toolbar_style">icons</property> - <property name="show_arrow">False</property> - <property name="icon_size">2</property> - <child> - <object class="GtkToolButton" id=".uno:IncrementIndent"> - <property name="visible">True</property> - <property name="can_focus">False</property> - <property name="is_important">True</property> - <property name="use_underline">True</property> - </object> - <packing> - <property name="expand">False</property> - <property name="homogeneous">False</property> - </packing> - </child> - <child> - <object class="GtkToolButton" id=".uno:DecrementIndent"> - <property name="visible">True</property> - <property name="can_focus">False</property> - <property name="is_important">True</property> - <property name="use_underline">True</property> - </object> - <packing> - <property name="expand">False</property> - <property name="homogeneous">False</property> - </packing> - </child> - </object> - <packing> - <property name="left_attach">1</property> - <property name="top_attach">0</property> - </packing> - </child> - <child> - <object class="GtkLabel" id="leftindentlabel"> - <property name="visible">True</property> - <property name="can_focus">False</property> - <property name="label" translatable="yes" context="sidebaralignment|leftindentlabel">_Indent:</property> - <property name="use_underline">True</property> - <property name="mnemonic_widget">leftindent</property> - <property name="xalign">0</property> - </object> - <packing> - <property name="left_attach">0</property> - <property name="top_attach">0</property> - </packing> - </child> - </object> - <packing> - <property name="expand">False</property> - <property name="fill">True</property> - <property name="position">0</property> - </packing> - </child> - <child> - <object class="GtkSpinButton" id="leftindent"> - <property name="visible">True</property> - <property name="can_focus">True</property> - <property name="tooltip_text" translatable="yes" context="sidebaralignment|leftindent|tooltip_text">Indents from the left edge.</property> - <property name="adjustment">adjustmentIndent</property> - <child internal-child="accessible"> - <object class="AtkObject" id="leftindent-atkobject"> - <property name="AtkObject::accessible-name" translatable="yes" context="sidebaralignment|leftindent-atkobject">Left Indent</property> - </object> - </child> - </object> - <packing> - <property name="expand">False</property> - <property name="fill">True</property> - <property name="position">1</property> - </packing> - </child> + <property name="is_important">True</property> + <property name="use_underline">True</property> </object> <packing> <property name="expand">False</property> - <property name="fill">True</property> - <property name="position">0</property> + <property name="homogeneous">False</property> </packing> </child> <child> - <object class="GtkBox" id="box7"> + <object class="GtkToolButton" id=".uno:DecrementIndent"> <property name="visible">True</property> <property name="can_focus">False</property> - <property name="orientation">vertical</property> - <property name="spacing">6</property> - <child> - <object class="GtkCheckButton" id="mergecells"> - <property name="label" translatable="yes" context="sidebaralignment|mergecells">Merge cells</property> - <property name="visible">True</property> - <property name="can_focus">True</property> - <property name="receives_default">False</property> - <property name="tooltip_text" translatable="yes" context="sidebaralignment|mergecells|tooltip_text">Joins the selected cells into one.</property> - <property name="halign">start</property> - <property name="use_underline">True</property> - <property name="xalign">0</property> - <property name="image_position">right</property> - <property name="draw_indicator">True</property> - </object> - <packing> - <property name="expand">False</property> - <property name="fill">True</property> - <property name="position">0</property> - </packing> - </child> - <child> - <object class="GtkCheckButton" id="wraptext"> - <property name="label" translatable="yes" context="sidebaralignment|wraptext">Wrap text</property> - <property name="visible">True</property> - <property name="can_focus">True</property> - <property name="receives_default">False</property> - <property name="tooltip_text" translatable="yes" context="sidebaralignment|wraptext|tooltip_text">Wrap texts automatically.</property> - <property name="halign">start</property> - <property name="use_underline">True</property> - <property name="xalign">0</property> - <property name="draw_indicator">True</property> - </object> - <packing> - <property name="expand">False</property> - <property name="fill">True</property> - <property name="position">1</property> - </packing> - </child> + <property name="is_important">True</property> + <property name="use_underline">True</property> </object> <packing> <property name="expand">False</property> - <property name="fill">True</property> - <property name="pack_type">end</property> - <property name="position">1</property> + <property name="homogeneous">False</property> </packing> </child> </object> <packing> - <property name="expand">False</property> - <property name="fill">True</property> - <property name="position">1</property> + <property name="left_attach">0</property> + <property name="top_attach">1</property> </packing> </child> <child> - <object class="GtkBox" id="textorientbox"> + <object class="GtkSeparator" id="separator1"> <property name="visible">True</property> <property name="can_focus">False</property> - <property name="spacing">12</property> + <property name="margin_left">3</property> + <property name="margin_right">3</property> + </object> + <packing> + <property name="left_attach">0</property> + <property name="top_attach">3</property> + <property name="width">2</property> + </packing> + </child> + <child> + <object class="GtkLabel" id="orientationlabel"> + <property name="visible">True</property> + <property name="can_focus">False</property> + <property name="label" translatable="yes" context="sidebaralignment|orientationlabel">Text _orientation:</property> + <property name="use_underline">True</property> + <property name="mnemonic_widget">orientationdegrees</property> + <property name="xalign">0</property> + </object> + <packing> + <property name="left_attach">0</property> + <property name="top_attach">4</property> + </packing> + </child> + <child> + <object class="GtkBox"> + <property name="visible">True</property> + <property name="can_focus">False</property> + <property name="spacing">6</property> <child> - <object class="GtkLabel" id="orientationlabel"> + <object class="GtkCheckButton" id="stacked"> + <property name="label" translatable="yes" context="sidebaralignment|stacked">Vertically stacked</property> <property name="visible">True</property> - <property name="can_focus">False</property> - <property name="label" translatable="yes" context="sidebaralignment|orientationlabel">Text _orientation:</property> + <property name="can_focus">True</property> + <property name="receives_default">False</property> <property name="use_underline">True</property> - <property name="mnemonic_widget">orientationdegrees</property> <property name="xalign">0</property> + <property name="draw_indicator">True</property> </object> <packing> <property name="expand">False</property> @@ -378,28 +324,10 @@ </packing> </child> <child> - <object class="GtkSpinButton" id="orientationdegrees"> - <property name="visible">True</property> - <property name="can_focus">True</property> - <property name="tooltip_text" translatable="yes" context="sidebaralignment|orientationdegrees|tooltip_text">Select the angle for rotation.</property> - <property name="adjustment">adjustmentSpinDegrees</property> - <property name="wrap">True</property> - <child internal-child="accessible"> - <object class="AtkObject" id="orientationdegrees-atkobject"> - <property name="AtkObject::accessible-name" translatable="yes" context="sidebaralignment|orientationdegrees-atkobject">Text Orientation</property> - </object> - </child> - </object> - <packing> - <property name="expand">False</property> - <property name="fill">True</property> - <property name="position">1</property> - </packing> - </child> - <child> - <object class="GtkBox" id="box4"> + <object class="GtkBox" id="textorientbox"> <property name="visible">True</property> <property name="can_focus">False</property> + <property name="valign">center</property> <property name="spacing">3</property> <child> <object class="GtkRadioButton" id="bottom"> @@ -413,11 +341,10 @@ <property name="xalign">0</property> <property name="always_show_image">True</property> <property name="draw_indicator">False</property> - <property name="group">standard</property> </object> <packing> <property name="expand">False</property> - <property name="fill">False</property> + <property name="fill">True</property> <property name="position">0</property> </packing> </child> @@ -433,11 +360,10 @@ <property name="xalign">0</property> <property name="always_show_image">True</property> <property name="draw_indicator">False</property> - <property name="group">standard</property> </object> <packing> <property name="expand">False</property> - <property name="fill">False</property> + <property name="fill">True</property> <property name="position">1</property> </packing> </child> @@ -457,41 +383,75 @@ </object> <packing> <property name="expand">False</property> - <property name="fill">False</property> + <property name="fill">True</property> <property name="position">2</property> </packing> </child> </object> <packing> <property name="expand">False</property> - <property name="fill">False</property> + <property name="fill">True</property> <property name="pack_type">end</property> - <property name="position">2</property> + <property name="position">1</property> </packing> </child> </object> <packing> - <property name="expand">False</property> - <property name="fill">False</property> - <property name="position">2</property> + <property name="left_attach">0</property> + <property name="top_attach">5</property> + <property name="width">2</property> </packing> </child> <child> - <object class="GtkCheckButton" id="stacked"> - <property name="label" translatable="yes" context="sidebaralignment|stacked">Vertically stacked</property> + <object class="GtkCheckButton" id="wraptext"> + <property name="label" translatable="yes" context="sidebaralignment|wraptext">Wrap text</property> <property name="visible">True</property> <property name="can_focus">True</property> <property name="receives_default">False</property> + <property name="tooltip_text" translatable="yes" context="sidebaralignment|wraptext|tooltip_text">Wrap texts automatically.</property> + <property name="halign">end</property> <property name="use_underline">True</property> <property name="xalign">0</property> <property name="draw_indicator">True</property> </object> <packing> - <property name="expand">False</property> - <property name="fill">True</property> - <property name="position">3</property> + <property name="left_attach">1</property> + <property name="top_attach">2</property> </packing> </child> + <child> + <object class="GtkCheckButton" id="mergecells"> + <property name="label" translatable="yes" context="sidebaralignment|mergecells">Merge cells</property> + <property name="visible">True</property> + <property name="can_focus">True</property> + <property name="receives_default">False</property> + <property name="tooltip_text" translatable="yes" context="sidebaralignment|mergecells|tooltip_text">Joins the selected cells into one.</property> + <property name="use_underline">True</property> + <property name="xalign">0</property> + <property name="image_position">right</property> + <property name="draw_indicator">True</property> + </object> + <packing> + <property name="left_attach">0</property> + <property name="top_attach">2</property> + </packing> + </child> + <child> + <object class="GtkLabel" id="leftindentlabel"> + <property name="can_focus">False</property> + <property name="label" translatable="yes" context="sidebaralignment|leftindentlabel">_Indent:</property> + <property name="use_underline">True</property> + <property name="mnemonic_widget">leftindent</property> + <property name="xalign">0</property> + </object> + <packing> + <property name="left_attach">1</property> + <property name="top_attach">6</property> + </packing> + </child> + <child> + <placeholder/> + </child> </object> <packing> <property name="left_attach">0</property> |