[Xerte] Re: Limiting height of text input

Julian Tenney Julian.Tenney at nottingham.ac.uk
Mon Feb 11 16:11:35 GMT 2013

I dunno. The text entry response does the same thing. MaxChars might be as good as you've got.

From: xerte-bounces at lists.nottingham.ac.uk [mailto:xerte-bounces at lists.nottingham.ac.uk] On Behalf Of Dave Burnett
Sent: 11 February 2013 14:53
To: Xerte list
Subject: [Xerte] Limiting height of text input

If you keep typing, it will wrap and expand the input box.

How to defeat this (without using maxChars)?

teicon.txt._height = 18;
teicon.txt.background = false;
teicon.txt.border = true;
teicon.txt.type = 'input';
teicon.txt.selectable = true;
teicon.wordWrap = false;
teicon.txt.multiline = false;
teicon.txt.text = "";
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.nottingham.ac.uk/pipermail/xerte/attachments/20130211/29c9fd9c/attachment-0001.html>

More information about the Xerte mailing list