summaryrefslogtreecommitdiff
path: root/sc/uiconfig
diff options
context:
space:
mode:
authorRishabh Kumar <kris.kr296@gmail.com>2015-05-28 01:37:00 +0530
committerYousuf Philips <philipz85@hotmail.com>2015-06-02 14:08:51 +0000
commit1c18deee371ae21088383b2a2ddc55c7a7fd41b7 (patch)
treead53eb66be25b1b9da30f27bc7a063b546b4c322 /sc/uiconfig
parent9a9b116a1fd438f265ff8b6de59f2b2c6bdb0d48 (diff)
tdf#90888:Shrink the properties sidebar sections in Calc
Removal of less used controls Change-Id: I2948e6582031db1f743af59fb1ae02c1a86467f4 Reviewed-on: https://gerrit.libreoffice.org/15935 Reviewed-by: Yousuf Philips <philipz85@hotmail.com> Tested-by: Yousuf Philips <philipz85@hotmail.com>
Diffstat (limited to 'sc/uiconfig')
-rw-r--r--sc/uiconfig/scalc/ui/sidebaralignment.ui179
-rw-r--r--sc/uiconfig/scalc/ui/sidebarcellappearance.ui47
-rw-r--r--sc/uiconfig/scalc/ui/sidebarnumberformat.ui187
3 files changed, 167 insertions, 246 deletions
diff --git a/sc/uiconfig/scalc/ui/sidebaralignment.ui b/sc/uiconfig/scalc/ui/sidebaralignment.ui
index 590897f73bf0..9f51829aa583 100644
--- a/sc/uiconfig/scalc/ui/sidebaralignment.ui
+++ b/sc/uiconfig/scalc/ui/sidebaralignment.ui
@@ -13,7 +13,7 @@
<property name="can_focus">False</property>
<property name="border_width">6</property>
<property name="orientation">vertical</property>
- <property name="spacing">12</property>
+ <property name="spacing">10</property>
<child>
<object class="GtkBox" id="box3">
<property name="visible">True</property>
@@ -85,44 +85,6 @@
</packing>
</child>
<child>
- <object class="sfxlo-SidebarToolBox" id="writedirection">
- <property name="visible">True</property>
- <property name="can_focus">False</property>
- <property name="show_arrow">False</property>
- <child>
- <object class="GtkToolButton" id="lefttoright">
- <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>
- </packing>
- </child>
- <child>
- <object class="GtkToolButton" id="righttoleft">
- <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>
- </packing>
- </child>
- </object>
- <packing>
- <property name="expand">False</property>
- <property name="fill">True</property>
- <property name="position">1</property>
- </packing>
- </child>
- <child>
<object class="sfxlo-SidebarToolBox" id="verticalalignment">
<property name="visible">True</property>
<property name="can_focus">False</property>
@@ -170,7 +132,7 @@
<property name="expand">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>
@@ -192,13 +154,60 @@
<property name="orientation">vertical</property>
<property name="spacing">6</property>
<child>
- <object class="GtkLabel" id="leftindentlabel">
+ <object class="GtkGrid" id="grid2">
<property name="visible">True</property>
<property name="can_focus">False</property>
- <property name="xalign">0</property>
- <property name="label" translatable="yes">Left _indent:</property>
- <property name="use_underline">True</property>
- <property name="mnemonic_widget">leftindent:0pt</property>
+ <child>
+ <object class="sfxlo-SidebarToolBox" id="indentbuttons">
+ <property name="visible">True</property>
+ <property name="can_focus">False</property>
+ <property name="show_arrow">False</property>
+ <child>
+ <object class="GtkToolButton" id="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="homogenous">True</property>
+ </packing>
+ </child>
+ <child>
+ <object class="GtkToolButton" id="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="homogenous">True</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="xalign">0</property>
+ <property name="label" translatable="yes">_Indent:</property>
+ <property name="use_underline">True</property>
+ <property name="mnemonic_widget">leftindent:0pt</property>
+ </object>
+ <packing>
+ <property name="left_attach">0</property>
+ <property name="top_attach">0</property>
+ </packing>
+ </child>
</object>
<packing>
<property name="expand">False</property>
@@ -289,90 +298,82 @@
</packing>
</child>
<child>
- <object class="GtkLabel" id="orientationlabel">
- <property name="visible">True</property>
- <property name="can_focus">False</property>
- <property name="xalign">0</property>
- <property name="label" translatable="yes">Text _orientation:</property>
- <property name="use_underline">True</property>
- <property name="mnemonic_widget">orientationcontrol</property>
- </object>
- <packing>
- <property name="expand">False</property>
- <property name="fill">True</property>
- <property name="position">2</property>
- </packing>
- </child>
- <child>
<object class="GtkBox" id="box2">
<property name="visible">True</property>
<property name="can_focus">False</property>
<property name="spacing">12</property>
<child>
- <object class="svxlo-SidebarDialControl" id="orientationcontrol">
+ <object class="GtkLabel" id="orientationlabel">
<property name="visible">True</property>
- <property name="can_focus">True</property>
- <property name="receives_default">True</property>
- <property name="vexpand">True</property>
+ <property name="can_focus">False</property>
+ <property name="xalign">0</property>
+ <property name="label" translatable="yes">Text _orientation:</property>
+ <property name="use_underline">True</property>
</object>
<packing>
- <property name="expand">True</property>
+ <property name="expand">False</property>
<property name="fill">True</property>
<property name="position">0</property>
</packing>
</child>
<child>
- <object class="GtkBox" id="box4">
+ <object class="VclComboBoxNumeric" id="orientationdegrees:0degrees">
+ <property name="visible">True</property>
+ <property name="can_focus">False</property>
+ <property name="has_tooltip">True</property>
+ <property name="tooltip_markup" translatable="yes">Select the angle for rotation.</property>
+ <property name="tooltip_text" translatable="yes">Select the angle for rotation.</property>
+ </object>
+ <packing>
+ <property name="expand">False</property>
+ <property name="fill">True</property>
+ <property name="position">1</property>
+ </packing>
+ </child>
+ <child>
+ <object class="sfxlo-SidebarToolBox" id="writedirection">
<property name="visible">True</property>
<property name="can_focus">False</property>
- <property name="orientation">vertical</property>
- <property name="spacing">6</property>
+ <property name="show_arrow">False</property>
<child>
- <object class="GtkCheckButton" id="verticallystacked">
- <property name="label" translatable="yes">Vertically stacked</property>
+ <object class="GtkToolButton" id="lefttoright">
<property name="visible">True</property>
- <property name="can_focus">True</property>
- <property name="receives_default">False</property>
- <property name="has_tooltip">True</property>
- <property name="tooltip_markup" translatable="yes">Aligns text vertically.</property>
- <property name="tooltip_text" translatable="yes">Aligns text vertically.</property>
- <property name="xalign">0</property>
- <property name="image_position">bottom</property>
- <property name="draw_indicator">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="fill">True</property>
- <property name="position">0</property>
+ <property name="homogeneous">True</property>
</packing>
</child>
<child>
- <object class="VclComboBoxNumeric" id="orientationdegrees:0degrees">
+ <object class="GtkToolButton" id="righttoleft">
<property name="visible">True</property>
<property name="can_focus">False</property>
- <property name="has_tooltip">True</property>
- <property name="tooltip_markup" translatable="yes">Select the angle for rotation.</property>
- <property name="tooltip_text" translatable="yes">Select the angle for rotation.</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="fill">False</property>
- <property name="position">1</property>
+ <property name="homogeneous">True</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">1</property>
+ <property name="position">2</property>
</packing>
</child>
</object>
<packing>
<property name="expand">False</property>
<property name="fill">True</property>
- <property name="position">3</property>
+ <property name="position">2</property>
</packing>
</child>
</object>
diff --git a/sc/uiconfig/scalc/ui/sidebarcellappearance.ui b/sc/uiconfig/scalc/ui/sidebarcellappearance.ui
index f82f4b628672..86e0224ce189 100644
--- a/sc/uiconfig/scalc/ui/sidebarcellappearance.ui
+++ b/sc/uiconfig/scalc/ui/sidebarcellappearance.ui
@@ -1,6 +1,7 @@
<?xml version="1.0" encoding="UTF-8"?>
+<!-- Generated with glade 3.18.3 -->
<interface>
- <!-- interface-requires gtk+ 3.0 -->
+ <requires lib="gtk+" version="3.0"/>
<object class="GtkGrid" id="CellAppearancePropertyPanel">
<property name="visible">True</property>
<property name="can_focus">False</property>
@@ -22,7 +23,7 @@
<property name="visible">True</property>
<property name="can_focus">False</property>
<property name="xalign">0</property>
- <property name="label" translatable="yes">_Cell background:</property>
+ <property name="label" translatable="yes">_Background:</property>
<property name="use_underline">True</property>
</object>
<packing>
@@ -70,20 +71,6 @@
</packing>
</child>
<child>
- <object class="GtkLabel" id="cellborderlabel">
- <property name="visible">True</property>
- <property name="can_focus">False</property>
- <property name="xalign">0</property>
- <property name="label" translatable="yes">Cell _border:</property>
- <property name="use_underline">True</property>
- </object>
- <packing>
- <property name="expand">False</property>
- <property name="fill">True</property>
- <property name="position">2</property>
- </packing>
- </child>
- <child>
<object class="GtkBox" id="box2">
<property name="visible">True</property>
<property name="can_focus">False</property>
@@ -102,9 +89,8 @@
<property name="tooltip_markup" translatable="yes">Specify the borders of the selected cells.</property>
<property name="tooltip_text" translatable="yes">Specify the borders of the selected cells.</property>
<property name="halign">start</property>
- <property name="use_action_appearance">False</property>
<property name="action_name">.uno:SetBorderStyle</property>
- <property name="label" translatable="no">toolbutton1</property>
+ <property name="label">toolbutton1</property>
<property name="use_underline">True</property>
</object>
<packing>
@@ -139,9 +125,8 @@
<property name="tooltip_markup" translatable="yes">Select the line style of the borders.</property>
<property name="tooltip_text" translatable="yes">Select the line style of the borders.</property>
<property name="halign">end</property>
- <property name="use_action_appearance">False</property>
<property name="action_name">.uno:LineStyle</property>
- <property name="label" translatable="no">toolbutton2</property>
+ <property name="label">toolbutton2</property>
<property name="use_underline">True</property>
</object>
<packing>
@@ -204,32 +189,10 @@
<property name="position">2</property>
</packing>
</child>
- <child>
- <object class="GtkCheckButton" id="cellgridlines">
- <property name="label" translatable="yes">Show cell _grid lines</property>
- <property name="use_action_appearance">False</property>
- <property name="visible">True</property>
- <property name="can_focus">True</property>
- <property name="receives_default">False</property>
- <property name="tooltip_text" translatable="yes">Show the grid lines of the cells.</property>
- <property name="action_name">.uno:ToggleSheetGrid</property>
- <property name="use_action_appearance">False</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">4</property>
- </packing>
- </child>
</object>
<packing>
<property name="left_attach">0</property>
<property name="top_attach">0</property>
- <property name="width">1</property>
- <property name="height">1</property>
</packing>
</child>
</object>
diff --git a/sc/uiconfig/scalc/ui/sidebarnumberformat.ui b/sc/uiconfig/scalc/ui/sidebarnumberformat.ui
index a90fe61b7209..79fb1ca1f06a 100644
--- a/sc/uiconfig/scalc/ui/sidebarnumberformat.ui
+++ b/sc/uiconfig/scalc/ui/sidebarnumberformat.ui
@@ -1,6 +1,7 @@
<?xml version="1.0" encoding="UTF-8"?>
+<!-- Generated with glade 3.18.3 -->
<interface>
- <!-- interface-requires gtk+ 3.0 -->
+ <requires lib="gtk+" version="3.0"/>
<object class="GtkGrid" id="NumberFormatPropertyPanel">
<property name="visible">True</property>
<property name="can_focus">False</property>
@@ -14,133 +15,95 @@
<property name="orientation">vertical</property>
<property name="spacing">6</property>
<child>
- <object class="GtkLabel" id="categorylabel">
+ <object class="GtkGrid" id="grid1">
<property name="visible">True</property>
<property name="can_focus">False</property>
- <property name="xalign">0</property>
- <property name="label" translatable="yes">_Category:</property>
- <property name="use_underline">True</property>
- <property name="mnemonic_widget">category</property>
- </object>
- <packing>
- <property name="expand">False</property>
- <property name="fill">True</property>
- <property name="position">0</property>
- </packing>
- </child>
- <child>
- <object class="GtkComboBoxText" id="category">
- <property name="visible">True</property>
- <property name="can_focus">False</property>
- <property name="has_tooltip">True</property>
- <property name="tooltip_markup" translatable="yes">Select a category of contents.</property>
- <property name="tooltip_text" translatable="yes">Select a category of contents.</property>
- <property name="entry_text_column">0</property>
- <property name="id_column">1</property>
- <items>
- <item translatable="yes">General</item>
- <item translatable="yes">Number</item>
- <item translatable="yes">Percent</item>
- <item translatable="yes">Currency</item>
- <item translatable="yes">Date </item>
- <item translatable="yes">Time</item>
- <item translatable="yes">Scientific</item>
- <item translatable="yes">Fraction</item>
- <item translatable="yes">Boolean Value</item>
- <item translatable="yes">Text</item>
- </items>
- </object>
- <packing>
- <property name="expand">False</property>
- <property name="fill">True</property>
- <property name="position">1</property>
- </packing>
- </child>
- <child>
- <object class="GtkToolbar" id="numberformat">
- <property name="visible">True</property>
- <property name="can_focus">False</property>
- <child>
- <object class="GtkToolButton" id="numericfield">
- <property name="use_action_appearance">False</property>
- <property name="width_request">30</property>
- <property name="visible">True</property>
- <property name="can_focus">False</property>
- <property name="use_action_appearance">False</property>
- <property name="action_name">.uno:NumericField</property>
- <property name="label" translatable="no">toolbutton1</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="percent">
- <property name="use_action_appearance">False</property>
- <property name="visible">True</property>
- <property name="can_focus">False</property>
- <property name="use_action_appearance">False</property>
- <property name="action_name">.uno:NumberFormatPercent</property>
- <property name="label" translatable="no">toolbutton2</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="currency">
- <property name="use_action_appearance">False</property>
- <property name="visible">True</property>
- <property name="can_focus">False</property>
- <property name="use_action_appearance">False</property>
- <property name="action_name">.uno:NumberFormatCurrency</property>
- <property name="label" translatable="no">toolbutton3</property>
- <property name="use_underline">True</property>
- </object>
- <packing>
- <property name="expand">False</property>
- <property name="homogeneous">True</property>
- </packing>
- </child>
+ <property name="column_spacing">6</property>
<child>
- <object class="GtkToolButton" id="date">
- <property name="use_action_appearance">False</property>
+ <object class="GtkComboBoxText" id="category">
<property name="visible">True</property>
<property name="can_focus">False</property>
- <property name="use_action_appearance">False</property>
- <property name="action_name">.uno:NumberFormatDate</property>
- <property name="label" translatable="no">toolbutton4</property>
- <property name="use_underline">True</property>
+ <property name="has_tooltip">True</property>
+ <property name="tooltip_markup" translatable="yes">Select a category of contents.</property>
+ <property name="tooltip_text" translatable="yes">Select a category of contents.</property>
+ <property name="hexpand">True</property>
+ <items>
+ <item translatable="yes">General</item>
+ <item translatable="yes">Number</item>
+ <item translatable="yes">Percent</item>
+ <item translatable="yes">Currency</item>
+ <item translatable="yes">Date </item>
+ <item translatable="yes">Time</item>
+ <item translatable="yes">Scientific</item>
+ <item translatable="yes">Fraction</item>
+ <item translatable="yes">Boolean Value</item>
+ <item translatable="yes">Text</item>
+ </items>
</object>
<packing>
- <property name="expand">False</property>
- <property name="homogeneous">True</property>
+ <property name="left_attach">0</property>
+ <property name="top_attach">0</property>
</packing>
</child>
<child>
- <object class="GtkToolButton" id="insertfixedtext">
- <property name="use_action_appearance">False</property>
+ <object class="GtkToolbar" id="numberformat">
<property name="visible">True</property>
<property name="can_focus">False</property>
- <property name="use_action_appearance">False</property>
- <property name="action_name">.uno:InsertFixedText</property>
- <property name="label" translatable="no">toolbutton5</property>
- <property name="use_underline">True</property>
+ <property name="show_arrow">False</property>
+ <child>
+ <object class="GtkToolButton" id="currency">
+ <property name="use_action_appearance">False</property>
+ <property name="width_request">30</property>
+ <property name="visible">True</property>
+ <property name="can_focus">False</property>
+ <property name="action_name">.uno:NumberFormatCurrency</property>
+ <property name="label">toolbutton1</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="percent">
+ <property name="use_action_appearance">False</property>
+ <property name="visible">True</property>
+ <property name="can_focus">False</property>
+ <property name="action_name">.uno:NumberFormatPercent</property>
+ <property name="label">toolbutton2</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="numericfield">
+ <property name="use_action_appearance">False</property>
+ <property name="visible">True</property>
+ <property name="can_focus">False</property>
+ <property name="action_name">.uno:NumericField</property>
+ <property name="label">toolbutton3</property>
+ <property name="use_underline">True</property>
+ </object>
+ <packing>
+ <property name="expand">False</property>
+ <property name="homogeneous">True</property>
+ </packing>
+ </child>
</object>
<packing>
- <property name="expand">False</property>
- <property name="homogeneous">True</property>
+ <property name="left_attach">1</property>
+ <property name="top_attach">0</property>
</packing>
</child>
</object>
<packing>
<property name="expand">False</property>
<property name="fill">True</property>
- <property name="position">2</property>
+ <property name="position">0</property>
</packing>
</child>
<child>
@@ -176,7 +139,6 @@
<property name="tooltip_markup" translatable="yes">Enter the number of decimal places that you want to display.</property>
<property name="tooltip_text" translatable="yes">Enter the number of decimal places that you want to display.</property>
<property name="invisible_char">•</property>
- <property name="invisible_char_set">True</property>
</object>
<packing>
<property name="expand">False</property>
@@ -220,7 +182,6 @@
<property name="tooltip_markup" translatable="yes">Enter the maximum number of zeroes to display before the decimal point.</property>
<property name="tooltip_text" translatable="yes">Enter the maximum number of zeroes to display before the decimal point.</property>
<property name="invisible_char">•</property>
- <property name="invisible_char_set">True</property>
</object>
<packing>
<property name="expand">False</property>
@@ -245,7 +206,7 @@
</child>
<child>
<object class="GtkCheckButton" id="negativenumbersred">
- <property name="label" translatable="yes">_Negative numbers red</property>
+ <property name="label" translatable="yes">_Negative numbers in red</property>
<property name="use_action_appearance">False</property>
<property name="visible">True</property>
<property name="can_focus">True</property>
@@ -253,7 +214,6 @@
<property name="has_tooltip">True</property>
<property name="tooltip_markup" translatable="yes">Changes the font color of negative numbers to red.</property>
<property name="tooltip_text" translatable="yes">Changes the font color of negative numbers to red.</property>
- <property name="use_action_appearance">False</property>
<property name="use_underline">True</property>
<property name="xalign">0</property>
<property name="draw_indicator">True</property>
@@ -274,7 +234,6 @@
<property name="has_tooltip">True</property>
<property name="tooltip_markup" translatable="yes">Inserts a separator between thousands.</property>
<property name="tooltip_text" translatable="yes">Inserts a separator between thousands.</property>
- <property name="use_action_appearance">False</property>
<property name="use_underline">True</property>
<property name="xalign">0</property>
<property name="draw_indicator">True</property>
@@ -289,8 +248,6 @@
<packing>
<property name="left_attach">0</property>
<property name="top_attach">0</property>
- <property name="width">1</property>
- <property name="height">1</property>
</packing>
</child>
</object>