On my way trying to get the path where the innerWidth of a widget is 
changed I'm trying to find the implementation of _recomputeInnerWidth.

I tried to hook into recomputeInnerWidth through overwriting this method.

While trying this I get the followin error:

The configuration key "_recomputeInnerWidth" in class 
"qx.ui.io.UploadField" is not allowed!
http://nra/qooxdoo.dev/frontend/framework/source/class/qx/Class.js
Line 814


Dietrich Streifert schrieb:
> 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

Reply via email to