summaryrefslogtreecommitdiff
path: root/examples
diff options
context:
space:
mode:
authorKent Hansen <kent.hansen@nokia.com>2012-06-28 11:46:54 +0200
committerQt by Nokia <qt-info@nokia.com>2012-06-28 11:53:10 +0200
commit8cc8b7771a9835ff1f7cb49efdb9adc2cf8f3d6c (patch)
treedbf525836f77ae5d441f24586a685290fa2bf8f4 /examples
parentc89315da2e836fe67c4228cfb73c25a68b0a3a95 (diff)
downloadqtscript-8cc8b7771a9835ff1f7cb49efdb9adc2cf8f3d6c.tar.gz
calculator example: increase maximum length of result display
15 characters isn't enough to hold results like 1.1760477643322587e-7. Instead it would get chopped down to 1.1760477643322. Task-number: QTBUG-20845 Change-Id: I9ea697ec627caa5225b84208bdf1e6ac0be59ebb Reviewed-by: Kent Hansen <kent.hansen@nokia.com>
Diffstat (limited to 'examples')
-rw-r--r--examples/script/calculator/calculator.ui2
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/script/calculator/calculator.ui b/examples/script/calculator/calculator.ui
index 42e612d..88cddea 100644
--- a/examples/script/calculator/calculator.ui
+++ b/examples/script/calculator/calculator.ui
@@ -163,7 +163,7 @@
</sizepolicy>
</property>
<property name="maxLength">
- <number>15</number>
+ <number>24</number>
</property>
<property name="alignment">
<set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>