diff options
author | Jan Holesovsky <kendy@suse.cz> | 2013-06-15 14:40:57 +0200 |
---|---|---|
committer | Jan Holesovsky <kendy@suse.cz> | 2013-06-15 14:42:10 +0200 |
commit | caba2af375181004ea10aa61cecf56356df2c677 (patch) | |
tree | 1dff73a530f45d597b6f78ddd7ac8d9b29fe9537 | |
parent | 0342b099d7079c8246684c8bafd79d98172ae029 (diff) |
sibebar: Improve look of the number format panel.
Change-Id: I56bb81607fed3103d14dcb8638046853e6f16925
-rw-r--r-- | sc/uiconfig/scalc/ui/sidebarnumberformat.ui | 290 |
1 files changed, 156 insertions, 134 deletions
diff --git a/sc/uiconfig/scalc/ui/sidebarnumberformat.ui b/sc/uiconfig/scalc/ui/sidebarnumberformat.ui index 620b6464b968..7b9add97ed8d 100644 --- a/sc/uiconfig/scalc/ui/sidebarnumberformat.ui +++ b/sc/uiconfig/scalc/ui/sidebarnumberformat.ui @@ -12,54 +12,15 @@ <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">6</property> <child> - <object class="GtkGrid" id="grid1"> + <object class="GtkLabel" id="categorylabel"> <property name="visible">True</property> <property name="can_focus">False</property> - <child> - <object class="GtkLabel" id="categorylabel"> - <property name="visible">True</property> - <property name="can_focus">False</property> - <property name="margin_right">122</property> - <property name="label" translatable="yes">_Category:</property> - <property name="use_underline">True</property> - <property name="mnemonic_widget">category</property> - </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> - <child> - <object class="GtkComboBoxText" id="category"> - <property name="visible">True</property> - <property name="can_focus">False</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="left_attach">0</property> - <property name="top_attach">1</property> - <property name="width">1</property> - <property name="height">1</property> - </packing> - </child> + <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> @@ -68,14 +29,44 @@ </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="yes">toolbutton1</property> <property name="use_underline">True</property> @@ -87,8 +78,10 @@ </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="yes">toolbutton2</property> <property name="use_underline">True</property> @@ -100,8 +93,10 @@ </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="yes">toolbutton3</property> <property name="use_underline">True</property> @@ -113,8 +108,10 @@ </child> <child> <object class="GtkToolButton" id="date"> + <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:NumberFormatDate</property> <property name="label" translatable="yes">toolbutton4</property> <property name="use_underline">True</property> @@ -126,8 +123,10 @@ </child> <child> <object class="GtkToolButton" id="insertfixedtext"> + <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:InsertFixedText</property> <property name="label" translatable="yes">toolbutton5</property> <property name="use_underline">True</property> @@ -141,126 +140,149 @@ <packing> <property name="expand">False</property> <property name="fill">True</property> - <property name="position">1</property> + <property name="position">2</property> </packing> </child> <child> - <object class="GtkGrid" id="grid2"> + <object class="GtkBox" id="box3"> <property name="visible">True</property> <property name="can_focus">False</property> + <property name="spacing">12</property> <child> - <object class="GtkLabel" id="decimalplaceslabel"> + <object class="GtkBox" id="box4"> <property name="visible">True</property> <property name="can_focus">False</property> - <property name="margin_right">2</property> - <property name="label" translatable="yes">_Decimal places:</property> - <property name="use_underline">True</property> - <property name="mnemonic_widget">decimalplaces</property> + <property name="orientation">vertical</property> + <property name="spacing">6</property> + <child> + <object class="GtkLabel" id="decimalplaceslabel"> + <property name="visible">True</property> + <property name="can_focus">False</property> + <property name="label" translatable="yes">_Decimal places:</property> + <property name="use_underline">True</property> + <property name="mnemonic_widget">decimalplaces</property> + </object> + <packing> + <property name="expand">False</property> + <property name="fill">True</property> + <property name="position">0</property> + </packing> + </child> + <child> + <object class="GtkSpinButton" id="decimalplaces"> + <property name="visible">True</property> + <property name="can_focus">True</property> + <property name="has_tooltip">True</property> + <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> + <property name="fill">True</property> + <property name="position">1</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> + <property name="expand">False</property> + <property name="fill">True</property> + <property name="position">0</property> </packing> </child> <child> - <object class="GtkLabel" id="leadingzeroeslabel"> + <object class="GtkBox" id="box5"> <property name="visible">True</property> <property name="can_focus">False</property> - <property name="margin_left">51</property> - <property name="label" translatable="yes">Leading _zeroes:</property> - <property name="use_underline">True</property> - <property name="mnemonic_widget">leadingzeroes</property> - </object> - <packing> - <property name="left_attach">1</property> - <property name="top_attach">0</property> - <property name="width">1</property> - <property name="height">1</property> - </packing> - </child> - <child> - <object class="GtkSpinButton" id="decimalplaces"> - <property name="visible">True</property> - <property name="can_focus">True</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="orientation">vertical</property> + <property name="spacing">6</property> + <child> + <object class="GtkLabel" id="leadingzeroeslabel"> + <property name="visible">True</property> + <property name="can_focus">False</property> + <property name="xalign">0</property> + <property name="label" translatable="yes">Leading _zeroes:</property> + <property name="use_underline">True</property> + <property name="mnemonic_widget">leadingzeroes</property> + </object> + <packing> + <property name="expand">False</property> + <property name="fill">True</property> + <property name="position">0</property> + </packing> + </child> + <child> + <object class="GtkSpinButton" id="leadingzeroes"> + <property name="visible">True</property> + <property name="can_focus">True</property> + <property name="has_tooltip">True</property> + <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> + <property name="fill">True</property> + <property name="position">1</property> + </packing> + </child> </object> <packing> - <property name="left_attach">0</property> - <property name="top_attach">1</property> - <property name="width">1</property> - <property name="height">1</property> - </packing> - </child> - <child> - <object class="GtkSpinButton" id="leadingzeroes"> - <property name="visible">True</property> - <property name="can_focus">True</property> - <property name="tooltip_text" translatable="yes">Enter the maximum number of zeroes to display before the decimal - point.</property> - <property name="margin_left">50</property> - <property name="invisible_char">•</property> - </object> - <packing> - <property name="left_attach">1</property> - <property name="top_attach">1</property> - <property name="width">1</property> - <property name="height">1</property> + <property name="expand">False</property> + <property name="fill">True</property> + <property name="pack_type">end</property> + <property name="position">1</property> </packing> </child> </object> <packing> <property name="expand">False</property> <property name="fill">True</property> - <property name="position">2</property> + <property name="position">3</property> </packing> </child> <child> - <object class="GtkBox" id="box2"> + <object class="GtkCheckButton" id="negativenumbersred"> + <property name="label" translatable="yes">_Negative numbers red</property> + <property name="use_action_appearance">False</property> <property name="visible">True</property> - <property name="can_focus">False</property> - <property name="orientation">vertical</property> - <child> - <object class="GtkCheckButton" id="negativenumbersred"> - <property name="label" translatable="yes">_Negative numbers red</property> - <property name="visible">True</property> - <property name="can_focus">True</property> - <property name="receives_default">False</property> - <property name="tooltip_text" translatable="yes">Changes the font color of negative numbers to red.</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">0</property> - </packing> - </child> - <child> - <object class="GtkCheckButton" id="thousandseperator"> - <property name="label" translatable="yes">_Thousands seperator</property> - <property name="visible">True</property> - <property name="can_focus">True</property> - <property name="receives_default">False</property> - <property name="tooltip_text" translatable="yes">Inserts a separator between thousands.</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="can_focus">True</property> + <property name="receives_default">False</property> + <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> </object> <packing> <property name="expand">False</property> <property name="fill">True</property> - <property name="position">3</property> + <property name="position">4</property> + </packing> + </child> + <child> + <object class="GtkCheckButton" id="thousandseperator"> + <property name="label" translatable="yes">_Thousands seperator</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="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> + </object> + <packing> + <property name="expand">False</property> + <property name="fill">True</property> + <property name="position">5</property> </packing> </child> </object> |