Hi All,

Does anyone know how to make a TextArea widget grow based on the size of its
content?
I feel it's possible. It seems qooxdoo calculates actual content sizes for
stuff like Atoms and Labels.

But I can't seem to figure out what the tweak is, to get the relevant
information?
How does one calculate the real height of the textarea? The height of the
context contained within the textarea, that is.

One way to do it, I think, is to use a stack, and put the textarea on top of
an atom.
Then all I need to do is sync the atoms-label with the value of the textarea
(and enable dynamicUpdate).
But that feels like a hack. Is there a nicer way to do this?

-- Greetings
-- Ralf
------------------------------------------------------------------------------
The Palm PDK Hot Apps Program offers developers who use the
Plug-In Development Kit to bring their C/C++ apps to Palm for a share
of $1 Million in cash or HP Products. Visit us here for more details:
http://p.sf.net/sfu/dev2dev-palm
_______________________________________________
qooxdoo-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel

Reply via email to