Hello List,
I have a CanvasLayout which has the following properties set:
myCanvasLayout.set({left:20, right:20});
CanvasLayout contains a TextField as a child which has the following
properties set:
myTextField({left:0, right:49});
When myCanvasLayout gets resized (eg. by resizing the parent of
myCanvasLayout) myTextField also gets resized, but the visible width
which means the characters displayed in the TextField get cut at 120px.
This seems to be the value which is returned by _computePrefferedInnerWidth.
One Solution would be to track the width change of the CanvasLayout by
some event or modifier and call myTextField.setWidth() with the new value.
Is TextField broken or is this by design?
Any ideas?
Thank you.
Regards.
--
Mit freundlichen Grüßen
Dietrich Streifert
--
Visionet GmbH
Firmensitz: Am Weichselgarten 7, 91058 Erlangen
Registergericht: Handelsregister Fürth, HRB 6573
Geschäftsführer: Stefan Lindner
-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
qooxdoo-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel