Set a max value for the custom text in OSTC3

The device supports a up to 60 chars custom text. This limits the
LineEdit to that amount, so users see when they reach the max limit.

Signed-off-by: Anton Lundin <glance@acc.umu.se>
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
This commit is contained in:
Anton Lundin 2014-10-27 20:37:06 +01:00 committed by Dirk Hohndel
parent 8ba6736ca8
commit d835e6342d

View file

@ -264,6 +264,9 @@
<verstretch>0</verstretch> <verstretch>0</verstretch>
</sizepolicy> </sizepolicy>
</property> </property>
<property name="maxLength">
<number>60</number>
</property>
</widget> </widget>
</item> </item>
<item row="1" column="3"> <item row="1" column="3">