diff options
author | Katarina Behrens <Katarina.Behrens@cib.de> | 2015-07-29 15:55:54 +0200 |
---|---|---|
committer | Markus Mohrhard <markus.mohrhard@googlemail.com> | 2015-07-30 15:29:14 +0000 |
commit | 00edc9567f5c5e45047edf46e0f994c285cfc4be (patch) | |
tree | 1af11d554ca36b5b9d83a8fa28bb7f7ed0a61856 /chart2/uiconfig | |
parent | 41d1b01a906ed5872cc8f0b70439c6891a874f60 (diff) |
Some (mostly HIG) tweaks to chart axis panel
+ added a text orientation spinbox to .ui file, but it does nothing so
far
Change-Id: Idb9177683c46fba50a153aff795aab7a2f419694
Reviewed-on: https://gerrit.libreoffice.org/17402
Reviewed-by: Markus Mohrhard <markus.mohrhard@googlemail.com>
Tested-by: Markus Mohrhard <markus.mohrhard@googlemail.com>
Diffstat (limited to 'chart2/uiconfig')
-rw-r--r-- | chart2/uiconfig/ui/sidebaraxis.ui | 100 |
1 files changed, 64 insertions, 36 deletions
diff --git a/chart2/uiconfig/ui/sidebaraxis.ui b/chart2/uiconfig/ui/sidebaraxis.ui index 8ceb05128569..b758e317136f 100644 --- a/chart2/uiconfig/ui/sidebaraxis.ui +++ b/chart2/uiconfig/ui/sidebaraxis.ui @@ -5,13 +5,17 @@ <object class="GtkGrid" id="ChartAxisPanel"> <property name="visible">True</property> <property name="can_focus">False</property> + <property name="row_spacing">6</property> + <property name="column_spacing">6</property> <child> <object class="GtkGrid" id="grid1"> <property name="visible">True</property> <property name="can_focus">False</property> + <property name="row_spacing">6</property> + <property name="column_spacing">6</property> <child> <object class="GtkCheckButton" id="checkbutton_show_label"> - <property name="label" translatable="yes">Show Labels</property> + <property name="label" translatable="yes">Show labels</property> <property name="visible">True</property> <property name="can_focus">True</property> <property name="receives_default">False</property> @@ -38,10 +42,67 @@ </packing> </child> <child> - <object class="GtkLabel" id="label1"> + <object class="GtkGrid" id="label_props"> <property name="visible">True</property> <property name="can_focus">False</property> - <property name="label" translatable="yes">Label Position</property> + <property name="margin_left">12</property> + <property name="row_spacing">6</property> + <property name="column_spacing">5</property> + <child> + <object class="GtkLabel" id="label1"> + <property name="visible">True</property> + <property name="can_focus">False</property> + <property name="halign">end</property> + <property name="label" translatable="yes">_Label position:</property> + <property name="use_underline">True</property> + <property name="mnemonic_widget">comboboxtext_label_position</property> + </object> + <packing> + <property name="left_attach">0</property> + <property name="top_attach">0</property> + </packing> + </child> + <child> + <object class="GtkComboBoxText" id="comboboxtext_label_position"> + <property name="visible">True</property> + <property name="can_focus">False</property> + <items> + <item translatable="yes">Near Axis</item> + <item translatable="yes">Near Axis (other side)</item> + <item translatable="yes">Outside start</item> + <item translatable="yes">Outside end</item> + </items> + </object> + <packing> + <property name="left_attach">1</property> + <property name="top_attach">0</property> + </packing> + </child> + <child> + <object class="GtkLabel" id="label2"> + <property name="visible">True</property> + <property name="can_focus">False</property> + <property name="halign">end</property> + <property name="valign">center</property> + <property name="label" translatable="yes">_Text orientation:</property> + <property name="use_underline">True</property> + <property name="mnemonic_widget">spinbutton1:0degrees</property> + </object> + <packing> + <property name="left_attach">0</property> + <property name="top_attach">1</property> + </packing> + </child> + <child> + <object class="GtkSpinButton" id="spinbutton1:0degrees"> + <property name="visible">True</property> + <property name="can_focus">True</property> + </object> + <packing> + <property name="left_attach">1</property> + <property name="top_attach">1</property> + </packing> + </child> </object> <packing> <property name="left_attach">0</property> @@ -49,39 +110,6 @@ </packing> </child> <child> - <object class="GtkLabel" id="label2"> - <property name="visible">True</property> - <property name="can_focus">False</property> - <property name="label" translatable="yes">Text orientation</property> - </object> - <packing> - <property name="left_attach">0</property> - <property name="top_attach">2</property> - </packing> - </child> - <child> - <object class="GtkComboBoxText" id="comboboxtext_label_position"> - <property name="visible">True</property> - <property name="can_focus">False</property> - <items> - <item translatable="yes">Near Axis</item> - <item translatable="yes">Near Axis (other side)</item> - <item translatable="yes">Outside start</item> - <item translatable="yes">Outside end</item> - </items> - </object> - <packing> - <property name="left_attach">1</property> - <property name="top_attach">1</property> - </packing> - </child> - <child> - <placeholder/> - </child> - <child> - <placeholder/> - </child> - <child> <placeholder/> </child> </object> |