summaryrefslogtreecommitdiff
path: root/chart2/uiconfig
diff options
context:
space:
mode:
authorLaurent Balland-Poirier <laurent.balland-poirier@laposte.net>2013-12-02 09:54:21 +0100
committerTomaž Vajngerl <quikee@gmail.com>2013-12-07 20:10:17 +0000
commit1ef7640148d35646f465d0d7026529b588cb4bcf (patch)
tree50c5660792348158c56bc7bf0065da1114fcbf43 /chart2/uiconfig
parentc89b5eadcba27efd0b55737dd28b432f233c4847 (diff)
fdo#40314 Free value of intercept for trend line
Intercept value field has been changed to FormattedField to support scientific notation and more than 4 digits after decimal point Change-Id: Idb2d27862ddabcdc96a036d93f1f3498cc6327df Reviewed-on: https://gerrit.libreoffice.org/6904 Reviewed-by: Tomaž Vajngerl <quikee@gmail.com> Tested-by: Tomaž Vajngerl <quikee@gmail.com>
Diffstat (limited to 'chart2/uiconfig')
-rw-r--r--chart2/uiconfig/ui/tp_Trendline.ui38
1 files changed, 16 insertions, 22 deletions
diff --git a/chart2/uiconfig/ui/tp_Trendline.ui b/chart2/uiconfig/ui/tp_Trendline.ui
index d0951457465b..b5a0fadf48f7 100644
--- a/chart2/uiconfig/ui/tp_Trendline.ui
+++ b/chart2/uiconfig/ui/tp_Trendline.ui
@@ -431,25 +431,6 @@
</packing>
</child>
<child>
- <object class="GtkSpinButton" id="interceptValue">
- <property name="visible">True</property>
- <property name="can_focus">True</property>
- <property name="invisible_char">●</property>
- <property name="invisible_char_set">True</property>
- <property name="adjustment">adjustmentForwardBacward</property>
- <property name="digits">4</property>
- <accessibility>
- <relation type="labelled-by" target="setIntercept"/>
- </accessibility>
- </object>
- <packing>
- <property name="left_attach">1</property>
- <property name="top_attach">3</property>
- <property name="width">1</property>
- <property name="height">1</property>
- </packing>
- </child>
- <child>
<object class="GtkCheckButton" id="setIntercept">
<property name="label" translatable="yes">Force _Intercept</property>
<property name="visible">True</property>
@@ -458,9 +439,6 @@
<property name="use_underline">True</property>
<property name="xalign">0</property>
<property name="draw_indicator">True</property>
- <accessibility>
- <relation type="label-for" target="interceptValue"/>
- </accessibility>
</object>
<packing>
<property name="left_attach">0</property>
@@ -532,6 +510,22 @@
<property name="height">1</property>
</packing>
</child>
+ <child>
+ <object class="svtlo-FormattedField" id="interceptValue">
+ <property name="visible">True</property>
+ <property name="can_focus">True</property>
+ <property name="invisible_char">●</property>
+ <property name="text" translatable="yes">0</property>
+ <property name="caps_lock_warning">False</property>
+ <property name="input_purpose">number</property>
+ </object>
+ <packing>
+ <property name="left_attach">1</property>
+ <property name="top_attach">3</property>
+ <property name="width">1</property>
+ <property name="height">1</property>
+ </packing>
+ </child>
</object>
</child>
</object>