summaryrefslogtreecommitdiff
path: root/sc/uiconfig
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2019-12-22 17:47:19 +0000
committerCaolán McNamara <caolanm@redhat.com>2019-12-30 10:39:21 +0100
commitc3b58a0de7b7dd08695fbc9ad96c573ea1305357 (patch)
tree9cd7dad35990d45095e28a4c8ca3ee6593ed6877 /sc/uiconfig
parent3a3110564bcda4678fb804d01013e226fd2fbe93 (diff)
weld AlignmentPropertyPanel
Change-Id: I3070f5e7b2d5f104f4eea9d3e2f700ce2d1e7375 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/85721 Tested-by: Jenkins Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
Diffstat (limited to 'sc/uiconfig')
-rw-r--r--sc/uiconfig/scalc/ui/sidebaralignment.ui122
1 files changed, 64 insertions, 58 deletions
diff --git a/sc/uiconfig/scalc/ui/sidebaralignment.ui b/sc/uiconfig/scalc/ui/sidebaralignment.ui
index e1107325eb12..808bc2633776 100644
--- a/sc/uiconfig/scalc/ui/sidebaralignment.ui
+++ b/sc/uiconfig/scalc/ui/sidebaralignment.ui
@@ -1,22 +1,30 @@
<?xml version="1.0" encoding="UTF-8"?>
-<!-- Generated with glade 3.20.0 -->
+<!-- Generated with glade 3.22.1 -->
<interface domain="sc">
<requires lib="gtk+" version="3.18"/>
- <requires lib="LibreOffice" version="1.0"/>
+ <object class="GtkAdjustment" id="adjustmentIndent">
+ <property name="upper">990</property>
+ <property name="step_increment">10</property>
+ <property name="page_increment">10</property>
+ </object>
+ <object class="GtkAdjustment" id="adjustmentSpinDegrees">
+ <property name="upper">359</property>
+ <property name="step_increment">5</property>
+ </object>
<object class="GtkImage" id="image1">
<property name="visible">True</property>
<property name="can_focus">False</property>
- <property name="pixbuf">svx/res/lo03.png</property>
+ <property name="icon_name">svx/res/lo03.png</property>
</object>
<object class="GtkImage" id="image2">
<property name="visible">True</property>
<property name="can_focus">False</property>
- <property name="pixbuf">svx/res/lo02.png</property>
+ <property name="icon_name">svx/res/lo02.png</property>
</object>
<object class="GtkImage" id="image3">
<property name="visible">True</property>
<property name="can_focus">False</property>
- <property name="pixbuf">svx/res/lo01.png</property>
+ <property name="icon_name">svx/res/lo01.png</property>
</object>
<object class="GtkGrid" id="AlignmentPropertyPanel">
<property name="visible">True</property>
@@ -36,60 +44,58 @@
<property name="can_focus">False</property>
<property name="spacing">6</property>
<child>
- <object class="sfxlo-SidebarToolBox" id="horizontalalignment">
+ <object class="GtkToolbar" id="horizontalalignment">
<property name="visible">True</property>
<property name="can_focus">True</property>
<property name="has_tooltip">True</property>
<property name="tooltip_text" translatable="yes" context="sidebaralignment|horizontalalignment|tooltip_text">Horizontal Alignment</property>
<property name="halign">start</property>
+ <property name="toolbar_style">icons</property>
<property name="show_arrow">False</property>
+ <property name="icon_size">2</property>
<child>
- <object class="GtkToolButton" id="substleft">
+ <object class="GtkToggleToolButton" id=".uno:AlignLeft">
<property name="visible">True</property>
<property name="can_focus">False</property>
<property name="valign">start</property>
- <property name="action_name">.uno:AlignLeft</property>
<property name="use_underline">True</property>
</object>
<packing>
<property name="expand">False</property>
- <property name="homogeneous">True</property>
+ <property name="homogeneous">False</property>
</packing>
</child>
<child>
- <object class="GtkToolButton" id="substcenter">
+ <object class="GtkToggleToolButton" id=".uno:AlignHorizontalCenter">
<property name="visible">True</property>
<property name="can_focus">False</property>
- <property name="action_name">.uno:AlignHorizontalCenter</property>
<property name="use_underline">True</property>
</object>
<packing>
<property name="expand">False</property>
- <property name="homogeneous">True</property>
+ <property name="homogeneous">False</property>
</packing>
</child>
<child>
- <object class="GtkToolButton" id="substright">
+ <object class="GtkToggleToolButton" id=".uno:AlignRight">
<property name="visible">True</property>
<property name="can_focus">False</property>
- <property name="action_name">.uno:AlignRight</property>
<property name="use_underline">True</property>
</object>
<packing>
<property name="expand">False</property>
- <property name="homogeneous">True</property>
+ <property name="homogeneous">False</property>
</packing>
</child>
<child>
- <object class="GtkToolButton" id="substjustify">
+ <object class="GtkToggleToolButton" id=".uno:AlignBlock">
<property name="visible">True</property>
<property name="can_focus">False</property>
- <property name="action_name">.uno:AlignBlock</property>
<property name="use_underline">True</property>
</object>
<packing>
<property name="expand">False</property>
- <property name="homogeneous">True</property>
+ <property name="homogeneous">False</property>
</packing>
</child>
</object>
@@ -100,46 +106,45 @@
</packing>
</child>
<child>
- <object class="sfxlo-SidebarToolBox" id="verticalalignment">
+ <object class="GtkToolbar" id="verticalalignment">
<property name="visible">True</property>
<property name="can_focus">True</property>
<property name="tooltip_text" translatable="yes" context="sidebaralignment|verticalalignment|tooltip_text">Vertical Alignment</property>
<property name="halign">end</property>
+ <property name="toolbar_style">icons</property>
<property name="show_arrow">False</property>
+ <property name="icon_size">2</property>
<child>
- <object class="GtkToolButton" id="verttop">
+ <object class="GtkToggleToolButton" id=".uno:AlignTop">
<property name="visible">True</property>
<property name="can_focus">False</property>
- <property name="action_name">.uno:AlignTop</property>
<property name="use_underline">True</property>
</object>
<packing>
<property name="expand">False</property>
- <property name="homogeneous">True</property>
+ <property name="homogeneous">False</property>
</packing>
</child>
<child>
- <object class="GtkToolButton" id="vertcenter">
+ <object class="GtkToggleToolButton" id=".uno:AlignVCenter">
<property name="visible">True</property>
<property name="can_focus">False</property>
- <property name="action_name">.uno:AlignVCenter</property>
<property name="use_underline">True</property>
</object>
<packing>
<property name="expand">False</property>
- <property name="homogeneous">True</property>
+ <property name="homogeneous">False</property>
</packing>
</child>
<child>
- <object class="GtkToolButton" id="vertbottom">
+ <object class="GtkToggleToolButton" id=".uno:AlignBottom">
<property name="visible">True</property>
<property name="can_focus">False</property>
- <property name="action_name">.uno:AlignBottom</property>
<property name="use_underline">True</property>
</object>
<packing>
<property name="expand">False</property>
- <property name="homogeneous">True</property>
+ <property name="homogeneous">False</property>
</packing>
</child>
</object>
@@ -151,34 +156,34 @@
</packing>
</child>
<child>
- <object class="sfxlo-SidebarToolBox" id="writedirection">
+ <object class="GtkToolbar" id="writedirection">
<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="lefttoright">
+ <object class="GtkToggleToolButton" id=".uno:ParaLeftToRight">
<property name="visible">True</property>
<property name="can_focus">False</property>
<property name="is_important">True</property>
- <property name="action_name">.uno:ParaLeftToRight</property>
<property name="use_underline">True</property>
</object>
<packing>
<property name="expand">False</property>
- <property name="homogeneous">True</property>
+ <property name="homogeneous">False</property>
</packing>
</child>
<child>
- <object class="GtkToolButton" id="righttoleft">
+ <object class="GtkToggleToolButton" id=".uno:ParaRightToLeft">
<property name="visible">True</property>
<property name="can_focus">False</property>
<property name="is_important">True</property>
- <property name="action_name">.uno:ParaRightToLeft</property>
<property name="use_underline">True</property>
</object>
<packing>
<property name="expand">False</property>
- <property name="homogeneous">True</property>
+ <property name="homogeneous">False</property>
</packing>
</child>
</object>
@@ -213,34 +218,34 @@
<property name="can_focus">False</property>
<property name="column_spacing">6</property>
<child>
- <object class="sfxlo-SidebarToolBox" id="indentbuttons">
+ <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="incrementindent">
+ <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="action_name">.uno:IncrementIndent</property>
<property name="use_underline">True</property>
</object>
<packing>
<property name="expand">False</property>
- <property name="homogeneous">True</property>
+ <property name="homogeneous">False</property>
</packing>
</child>
<child>
- <object class="GtkToolButton" id="decrementindent">
+ <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="action_name">.uno:DecrementIndent</property>
<property name="use_underline">True</property>
</object>
<packing>
<property name="expand">False</property>
- <property name="homogeneous">True</property>
+ <property name="homogeneous">False</property>
</packing>
</child>
</object>
@@ -255,7 +260,7 @@
<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:0pt</property>
+ <property name="mnemonic_widget">leftindent</property>
<property name="xalign">0</property>
</object>
<packing>
@@ -271,16 +276,14 @@
</packing>
</child>
<child>
- <object class="GtkSpinButton" id="leftindent:0pt">
+ <object class="GtkSpinButton" id="leftindent">
<property name="visible">True</property>
<property name="can_focus">True</property>
<property name="has_tooltip">True</property>
<property name="tooltip_text" translatable="yes" context="sidebaralignment|leftindent|tooltip_text">Indents from the left edge.</property>
- <accessibility>
- <relation type="labelled-by" target="leftindentlabel"/>
- </accessibility>
+ <property name="adjustment">adjustmentIndent</property>
<child internal-child="accessible">
- <object class="AtkObject" id="leftindent:0pt-atkobject">
+ <object class="AtkObject" id="leftindent-atkobject">
<property name="AtkObject::accessible-name" translatable="yes" context="sidebaralignment|leftindent-atkobject">Left Indent</property>
</object>
</child>
@@ -310,10 +313,10 @@
<property name="visible">True</property>
<property name="can_focus">True</property>
<property name="receives_default">False</property>
- <property name="use_underline">True</property>
<property name="has_tooltip">True</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>
@@ -330,10 +333,10 @@
<property name="visible">True</property>
<property name="can_focus">True</property>
<property name="receives_default">False</property>
- <property name="use_underline">True</property>
<property name="has_tooltip">True</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>
@@ -369,6 +372,7 @@
<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>
@@ -378,16 +382,15 @@
</packing>
</child>
<child>
- <object class="VclComboBoxNumeric" id="orientationdegrees:0degrees">
+ <object class="GtkSpinButton" id="orientationdegrees">
<property name="visible">True</property>
<property name="can_focus">True</property>
<property name="has_tooltip">True</property>
<property name="tooltip_text" translatable="yes" context="sidebaralignment|orientationdegrees|tooltip_text">Select the angle for rotation.</property>
- <accessibility>
- <relation type="labelled-by" target="orientationlabel"/>
- </accessibility>
+ <property name="adjustment">adjustmentSpinDegrees</property>
+ <property name="wrap">True</property>
<child internal-child="accessible">
- <object class="AtkObject" id="orientationdegrees:0degrees-atkobject">
+ <object class="AtkObject" id="orientationdegrees-atkobject">
<property name="AtkObject::accessible-name" translatable="yes" context="sidebaralignment|orientationdegrees-atkobject">Text Orientation</property>
</object>
</child>
@@ -409,12 +412,13 @@
<property name="can_focus">True</property>
<property name="focus_on_click">False</property>
<property name="receives_default">False</property>
- <property name="use_underline">True</property>
<property name="tooltip_text" translatable="yes" context="sidebaralignment|bottom|tooltip_text">Text Extension From Lower Cell Border</property>
<property name="image">image3</property>
+ <property name="use_underline">True</property>
<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>
@@ -428,12 +432,13 @@
<property name="can_focus">True</property>
<property name="focus_on_click">False</property>
<property name="receives_default">False</property>
- <property name="use_underline">True</property>
<property name="tooltip_text" translatable="yes" context="sidebaralignment|top|tooltip_text">Text Extension From Upper Cell Border</property>
<property name="image">image2</property>
+ <property name="use_underline">True</property>
<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>
@@ -447,11 +452,12 @@
<property name="can_focus">True</property>
<property name="focus_on_click">False</property>
<property name="receives_default">False</property>
- <property name="use_underline">True</property>
<property name="tooltip_text" translatable="yes" context="sidebaralignment|standard|tooltip_text">Text Extension Inside Cell</property>
<property name="image">image1</property>
+ <property name="use_underline">True</property>
<property name="xalign">0</property>
<property name="always_show_image">True</property>
+ <property name="active">True</property>
<property name="draw_indicator">False</property>
</object>
<packing>