summaryrefslogtreecommitdiff
path: root/chart2/uiconfig/ui/tp_AxisPositions.ui
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2018-11-14 21:15:59 +0000
committerCaolán McNamara <caolanm@redhat.com>2018-11-16 14:51:52 +0100
commit11300c48d4350c2f6748a1ca04b919cfae338d41 (patch)
tree4184e16c15d0adc2b4ec83ca4b2b34d7b1d57c3d /chart2/uiconfig/ui/tp_AxisPositions.ui
parent41d588835c359171c8d1a410221d75b9410b0c2d (diff)
Resolves: tdf#121246 crash in chart dialogs
Change-Id: I3bc720e44f5ea15749e6bc0f0fada3a17a783e23 Reviewed-on: https://gerrit.libreoffice.org/63463 Tested-by: Jenkins Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
Diffstat (limited to 'chart2/uiconfig/ui/tp_AxisPositions.ui')
-rw-r--r--chart2/uiconfig/ui/tp_AxisPositions.ui94
1 files changed, 41 insertions, 53 deletions
diff --git a/chart2/uiconfig/ui/tp_AxisPositions.ui b/chart2/uiconfig/ui/tp_AxisPositions.ui
index fa5cfbedb18f..16fcff3ffe06 100644
--- a/chart2/uiconfig/ui/tp_AxisPositions.ui
+++ b/chart2/uiconfig/ui/tp_AxisPositions.ui
@@ -1,7 +1,17 @@
<?xml version="1.0" encoding="UTF-8"?>
+<!-- Generated with glade 3.22.1 -->
<interface domain="chart">
<requires lib="gtk+" version="3.18"/>
- <requires lib="LibreOffice" version="1.0"/>
+ <object class="GtkAdjustment" id="adjustment1">
+ <property name="upper">100</property>
+ <property name="step_increment">1</property>
+ <property name="page_increment">10</property>
+ </object>
+ <object class="GtkAdjustment" id="adjustment2">
+ <property name="upper">100</property>
+ <property name="step_increment">1</property>
+ <property name="page_increment">10</property>
+ </object>
<object class="GtkBox" id="tp_AxisPositions">
<property name="visible">True</property>
<property name="can_focus">False</property>
@@ -35,10 +45,10 @@
<object class="GtkLabel" id="FT_CROSSES_OTHER_AXIS_AT">
<property name="visible">True</property>
<property name="can_focus">False</property>
- <property name="xalign">0</property>
<property name="label" translatable="yes" context="tp_AxisPositions|FT_CROSSES_OTHER_AXIS_AT">_Cross other axis at</property>
<property name="use_underline">True</property>
<property name="mnemonic_widget">LB_CROSSES_OTHER_AXIS_AT</property>
+ <property name="xalign">0</property>
</object>
<packing>
<property name="expand">False</property>
@@ -50,9 +60,6 @@
<object class="GtkComboBoxText" id="LB_CROSSES_OTHER_AXIS_AT">
<property name="visible">True</property>
<property name="can_focus">False</property>
- <property name="row_span_column">0</property>
- <property name="entry_text_column">0</property>
- <property name="id_column">1</property>
<items>
<item translatable="yes" context="tp_AxisPositions|LB_CROSSES_OTHER_AXIS_AT">Start</item>
<item translatable="yes" context="tp_AxisPositions|LB_CROSSES_OTHER_AXIS_AT">End</item>
@@ -67,9 +74,11 @@
</packing>
</child>
<child>
- <object class="svtlo-FormattedField" id="EDT_CROSSES_OTHER_AXIS_AT">
+ <object class="GtkSpinButton" id="EDT_CROSSES_OTHER_AXIS_AT">
<property name="visible">True</property>
- <property name="can_focus">False</property>
+ <property name="can_focus">True</property>
+ <property name="activates_default">True</property>
+ <property name="adjustment">adjustment1</property>
</object>
<packing>
<property name="expand">False</property>
@@ -78,13 +87,14 @@
</packing>
</child>
<child>
- <object class="GtkComboBox" id="EDT_CROSSES_OTHER_AXIS_AT_CATEGORY">
+ <object class="GtkComboBoxText" id="EDT_CROSSES_OTHER_AXIS_AT_CATEGORY">
<property name="visible">True</property>
<property name="can_focus">False</property>
<property name="has_entry">True</property>
<child internal-child="entry">
<object class="GtkEntry" id="combobox-entry">
- <property name="can_focus">False</property>
+ <property name="can_focus">True</property>
+ <property name="activates_default">True</property>
</object>
</child>
</object>
@@ -104,7 +114,7 @@
<child>
<object class="GtkCheckButton" id="CB_AXIS_BETWEEN_CATEGORIES">
<property name="label" translatable="yes" context="tp_AxisPositions|CB_AXIS_BETWEEN_CATEGORIES">Axis _between categories</property>
- <property name="can_focus">False</property>
+ <property name="can_focus">True</property>
<property name="receives_default">False</property>
<property name="use_underline">True</property>
<property name="xalign">0</property>
@@ -124,8 +134,8 @@
<object class="GtkLabel" id="TXT_AXIS_LINE">
<property name="visible">True</property>
<property name="can_focus">False</property>
- <property name="xalign">0</property>
<property name="label" translatable="yes" context="tp_AxisPositions|TXT_AXIS_LINE">Axis Line</property>
+ <property name="xalign">0</property>
<attributes>
<attribute name="weight" value="bold"/>
</attributes>
@@ -165,10 +175,10 @@
<object class="GtkLabel" id="FT_PLACE_LABELS">
<property name="visible">True</property>
<property name="can_focus">False</property>
- <property name="xalign">0</property>
<property name="label" translatable="yes" context="tp_AxisPositions|FT_PLACE_LABELS">_Place labels</property>
<property name="use_underline">True</property>
<property name="mnemonic_widget">LB_PLACE_LABELS</property>
+ <property name="xalign">0</property>
</object>
<packing>
<property name="expand">False</property>
@@ -180,8 +190,6 @@
<object class="GtkComboBoxText" id="LB_PLACE_LABELS">
<property name="visible">True</property>
<property name="can_focus">False</property>
- <property name="entry_text_column">0</property>
- <property name="id_column">1</property>
<items>
<item translatable="yes" context="tp_AxisPositions|LB_PLACE_LABELS">Near axis</item>
<item translatable="yes" context="tp_AxisPositions|LB_PLACE_LABELS">Near axis (other side)</item>
@@ -210,10 +218,10 @@
<child>
<object class="GtkLabel" id="FT_AXIS_LABEL_DISTANCE">
<property name="can_focus">False</property>
- <property name="xalign">0</property>
<property name="label" translatable="yes" context="tp_AxisPositions|FT_AXIS_LABEL_DISTANCE">_Distance</property>
<property name="use_underline">True</property>
<property name="mnemonic_widget">EDT_AXIS_LABEL_DISTANCE</property>
+ <property name="xalign">0</property>
</object>
<packing>
<property name="expand">False</property>
@@ -222,8 +230,10 @@
</packing>
</child>
<child>
- <object class="svtlo-FormattedField" id="EDT_AXIS_LABEL_DISTANCE">
- <property name="can_focus">False</property>
+ <object class="GtkSpinButton" id="EDT_AXIS_LABEL_DISTANCE">
+ <property name="can_focus">True</property>
+ <property name="activates_default">True</property>
+ <property name="adjustment">adjustment2</property>
</object>
<packing>
<property name="expand">False</property>
@@ -246,8 +256,8 @@
<object class="GtkLabel" id="TXT_FL_LABELS">
<property name="visible">True</property>
<property name="can_focus">False</property>
- <property name="xalign">0</property>
<property name="label" translatable="yes" context="tp_AxisPositions|TXT_FL_LABELS">Labels</property>
+ <property name="xalign">0</property>
<attributes>
<attribute name="weight" value="bold"/>
</attributes>
@@ -288,8 +298,8 @@
<object class="GtkLabel" id="FT_MAJOR">
<property name="visible">True</property>
<property name="can_focus">False</property>
- <property name="xalign">0</property>
<property name="label" translatable="yes" context="tp_AxisPositions|FT_MAJOR">Major:</property>
+ <property name="xalign">0</property>
<accessibility>
<relation type="label-for" target="CB_TICKS_INNER"/>
<relation type="label-for" target="CB_TICKS_OUTER"/>
@@ -298,16 +308,14 @@
<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="GtkLabel" id="FT_MINOR">
<property name="visible">True</property>
<property name="can_focus">False</property>
- <property name="xalign">0</property>
<property name="label" translatable="yes" context="tp_AxisPositions|FT_MINOR">Minor:</property>
+ <property name="xalign">0</property>
<accessibility>
<relation type="label-for" target="CB_MINOR_INNER"/>
<relation type="label-for" target="CB_MINOR_OUTER"/>
@@ -316,15 +324,13 @@
<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="GtkCheckButton" id="CB_TICKS_INNER">
<property name="label" translatable="yes" context="tp_AxisPositions|CB_TICKS_INNER">_Inner</property>
<property name="visible">True</property>
- <property name="can_focus">False</property>
+ <property name="can_focus">True</property>
<property name="receives_default">False</property>
<property name="use_underline">True</property>
<property name="xalign">0</property>
@@ -336,15 +342,13 @@
<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="GtkCheckButton" id="CB_TICKS_OUTER">
<property name="label" translatable="yes" context="tp_AxisPositions|CB_TICKS_OUTER">_Outer</property>
<property name="visible">True</property>
- <property name="can_focus">False</property>
+ <property name="can_focus">True</property>
<property name="receives_default">False</property>
<property name="use_underline">True</property>
<property name="xalign">0</property>
@@ -356,15 +360,13 @@
<packing>
<property name="left_attach">2</property>
<property name="top_attach">0</property>
- <property name="width">1</property>
- <property name="height">1</property>
</packing>
</child>
<child>
<object class="GtkCheckButton" id="CB_MINOR_INNER">
<property name="label" translatable="yes" context="tp_AxisPositions|CB_MINOR_INNER">I_nner</property>
<property name="visible">True</property>
- <property name="can_focus">False</property>
+ <property name="can_focus">True</property>
<property name="receives_default">False</property>
<property name="use_underline">True</property>
<property name="xalign">0</property>
@@ -376,15 +378,13 @@
<packing>
<property name="left_attach">1</property>
<property name="top_attach">1</property>
- <property name="width">1</property>
- <property name="height">1</property>
</packing>
</child>
<child>
<object class="GtkCheckButton" id="CB_MINOR_OUTER">
<property name="label" translatable="yes" context="tp_AxisPositions|CB_MINOR_OUTER">O_uter</property>
<property name="visible">True</property>
- <property name="can_focus">False</property>
+ <property name="can_focus">True</property>
<property name="receives_default">False</property>
<property name="use_underline">True</property>
<property name="xalign">0</property>
@@ -396,8 +396,6 @@
<packing>
<property name="left_attach">2</property>
<property name="top_attach">1</property>
- <property name="width">1</property>
- <property name="height">1</property>
</packing>
</child>
</object>
@@ -416,10 +414,10 @@
<object class="GtkLabel" id="FT_PLACE_TICKS">
<property name="visible">True</property>
<property name="can_focus">False</property>
- <property name="xalign">0</property>
<property name="label" translatable="yes" context="tp_AxisPositions|FT_PLACE_TICKS">Place _marks</property>
<property name="use_underline">True</property>
<property name="mnemonic_widget">LB_PLACE_TICKS</property>
+ <property name="xalign">0</property>
</object>
<packing>
<property name="expand">False</property>
@@ -431,8 +429,6 @@
<object class="GtkComboBoxText" id="LB_PLACE_TICKS">
<property name="visible">True</property>
<property name="can_focus">False</property>
- <property name="entry_text_column">0</property>
- <property name="id_column">1</property>
<items>
<item translatable="yes" context="tp_AxisPositions|LB_PLACE_TICKS">At labels</item>
<item translatable="yes" context="tp_AxisPositions|LB_PLACE_TICKS">At axis</item>
@@ -460,8 +456,8 @@
<object class="GtkLabel" id="TXT_FL_TICKS">
<property name="visible">True</property>
<property name="can_focus">False</property>
- <property name="xalign">0</property>
<property name="label" translatable="yes" context="tp_AxisPositions|TXT_FL_TICKS">Interval Marks</property>
+ <property name="xalign">0</property>
<attributes>
<attribute name="weight" value="bold"/>
</attributes>
@@ -495,7 +491,7 @@
<object class="GtkCheckButton" id="CB_MAJOR_GRID">
<property name="label" translatable="yes" context="tp_AxisPositions|CB_MAJOR_GRID">Show major _grid</property>
<property name="visible">True</property>
- <property name="can_focus">False</property>
+ <property name="can_focus">True</property>
<property name="receives_default">False</property>
<property name="relief">half</property>
<property name="use_underline">True</property>
@@ -505,15 +501,13 @@
<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="GtkCheckButton" id="CB_MINOR_GRID">
<property name="label" translatable="yes" context="tp_AxisPositions|CB_MINOR_GRID">_Show minor grid</property>
<property name="visible">True</property>
- <property name="can_focus">False</property>
+ <property name="can_focus">True</property>
<property name="receives_default">False</property>
<property name="use_underline">True</property>
<property name="xalign">0</property>
@@ -522,30 +516,26 @@
<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="GtkButton" id="PB_MAJOR_GRID">
<property name="label" translatable="yes" context="tp_AxisPositions|PB_MAJOR_GRID">Mo_re...</property>
<property name="visible">True</property>
- <property name="can_focus">False</property>
+ <property name="can_focus">True</property>
<property name="receives_default">True</property>
<property name="use_underline">True</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="GtkButton" id="PB_MINOR_GRID">
<property name="label" translatable="yes" context="tp_AxisPositions|PB_MINOR_GRID">Mor_e...</property>
<property name="visible">True</property>
- <property name="can_focus">False</property>
+ <property name="can_focus">True</property>
<property name="receives_default">True</property>
<property name="use_underline">True</property>
<property name="xalign">0.49000000953674316</property>
@@ -553,8 +543,6 @@
<packing>
<property name="left_attach">1</property>
<property name="top_attach">1</property>
- <property name="width">1</property>
- <property name="height">1</property>
</packing>
</child>
</object>
@@ -565,8 +553,8 @@
<object class="GtkLabel" id="label2">
<property name="visible">True</property>
<property name="can_focus">False</property>
- <property name="xalign">0</property>
<property name="label" translatable="yes" context="tp_AxisPositions|label2">Grids</property>
+ <property name="xalign">0</property>
<attributes>
<attribute name="weight" value="bold"/>
</attributes>