diff options
author | Muhammet Kara <muhammet.kara@collabora.com> | 2020-06-08 23:00:23 +0300 |
---|---|---|
committer | Muhammet Kara <muhammet.kara@collabora.com> | 2020-06-10 09:41:56 +0200 |
commit | d2205a26b96ed321c869f6eb7c955648c83dd805 (patch) | |
tree | 95c3d1f4ce877e3b6de2c30e936e11f57e154a8e /chart2/uiconfig | |
parent | fb4109bbf816c9b915b255b7ff69060423337a62 (diff) |
Give the legend checkbox a label
Change-Id: I95e8910e96335a03ebad6dd46255a902df2c47a4
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/95860
Tested-by: Jenkins
Reviewed-by: Muhammet Kara <muhammet.kara@collabora.com>
Diffstat (limited to 'chart2/uiconfig')
-rw-r--r-- | chart2/uiconfig/ui/sidebarelements.ui | 92 |
1 files changed, 42 insertions, 50 deletions
diff --git a/chart2/uiconfig/ui/sidebarelements.ui b/chart2/uiconfig/ui/sidebarelements.ui index 22b1ff60c87e..d136ea8774cf 100644 --- a/chart2/uiconfig/ui/sidebarelements.ui +++ b/chart2/uiconfig/ui/sidebarelements.ui @@ -1,5 +1,5 @@ <?xml version="1.0" encoding="UTF-8"?> -<!-- Generated with glade 3.22.1 --> +<!-- Generated with glade 3.22.2 --> <interface domain="chart"> <requires lib="gtk+" version="3.18"/> <object class="GtkGrid" id="ChartElementsPanel"> @@ -100,74 +100,66 @@ <property name="orientation">vertical</property> <property name="spacing">6</property> <child> - <object class="GtkGrid" id="grid5"> + <object class="GtkCheckButton" id="checkbutton_legend"> + <property name="label" translatable="yes" context="sidebarelements|checkbutton_legend">Show legend</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="sidebarelements|checkbutton_legend|tooltip_text">Show Legend</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="GtkBox" id="box_legend"> <property name="visible">True</property> <property name="can_focus">False</property> + <property name="spacing">6</property> <child> - <object class="GtkCheckButton" id="checkbutton_legend"> + <object class="GtkLabel" id="placement_label"> <property name="visible">True</property> - <property name="can_focus">True</property> - <property name="receives_default">False</property> - <property name="tooltip_text" translatable="yes" context="sidebarelements|checkbutton_legend|tooltip_text">Show Legend</property> - <property name="margin_right">5</property> + <property name="can_focus">False</property> + <property name="halign">end</property> + <property name="margin_left">4</property> + <property name="label" translatable="yes" context="sidebarelements|placement_label">_Placement:</property> <property name="use_underline">True</property> - <property name="xalign">0</property> - <property name="draw_indicator">True</property> + <property name="ellipsize">end</property> </object> <packing> - <property name="left_attach">0</property> - <property name="top_attach">0</property> + <property name="expand">False</property> + <property name="fill">True</property> + <property name="position">0</property> </packing> </child> <child> - <object class="GtkBox" id="box_legend"> + <object class="GtkComboBoxText" id="comboboxtext_legend"> + <property name="width_request">100</property> <property name="visible">True</property> <property name="can_focus">False</property> - <property name="spacing">6</property> - <child> - <object class="GtkLabel" id="placement_label"> - <property name="visible">True</property> - <property name="can_focus">False</property> - <property name="halign">end</property> - <property name="label" translatable="yes" context="sidebarelements|placement_label">_Placement:</property> - <property name="use_underline">True</property> - <property name="ellipsize">end</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="comboboxtext_legend"> - <property name="width_request">100</property> - <property name="visible">True</property> - <property name="can_focus">False</property> - <items> - <item translatable="yes" context="sidebarelements|comboboxtext_legend">Right</item> - <item translatable="yes" context="sidebarelements|comboboxtext_legend">Top</item> - <item translatable="yes" context="sidebarelements|comboboxtext_legend">Bottom</item> - <item translatable="yes" context="sidebarelements|comboboxtext_legend">Left</item> - </items> - </object> - <packing> - <property name="expand">False</property> - <property name="fill">True</property> - <property name="position">3</property> - </packing> - </child> + <items> + <item translatable="yes" context="sidebarelements|comboboxtext_legend">Right</item> + <item translatable="yes" context="sidebarelements|comboboxtext_legend">Top</item> + <item translatable="yes" context="sidebarelements|comboboxtext_legend">Bottom</item> + <item translatable="yes" context="sidebarelements|comboboxtext_legend">Left</item> + </items> </object> <packing> - <property name="left_attach">1</property> - <property name="top_attach">0</property> + <property name="expand">False</property> + <property name="fill">True</property> + <property name="position">3</property> </packing> </child> </object> <packing> <property name="expand">False</property> <property name="fill">True</property> - <property name="position">0</property> + <property name="position">1</property> </packing> </child> <child> @@ -183,7 +175,7 @@ <packing> <property name="expand">False</property> <property name="fill">True</property> - <property name="position">1</property> + <property name="position">2</property> </packing> </child> </object> |