My problem is about resizing several objects without "resize" event. (labels 
within qx.ui.pageview.AbstractPages as parent)
So my workaround is catching resize on another parent-class and sets a static 
variable in AbstractPages containing the new width.

Here I tried to catch the modification of the static-width to call an 
_updateSize() method in AbstractPages, which resizes the labels.

Now I need to call _updateSize() for each defined AbstractPages manually, 
instead of just changing the static Width... :(

Do you have a better idea?

-- Florian

-----Ursprüngliche Nachricht-----
Von: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Im Auftrag von Fabian Jakobs
Gesendet: Montag, 16. April 2007 14:49
An: qooxdoo Development
Betreff: Re: [qooxdoo-devel] Is it possible to catch _modifyStaticVariable?

Florian Probst schrieb:
>
> Hi,
>
> it's possible to use the function
>
> _modifyPropertyName : *function*(propValue, propOldValue, propData)
>
> {
>
> }
>
> to catch modifications to a property. But what about statics? A member 
> "_modifyStaticName" does not work L
>
> any ideas?
>
Sorry, there is no way to catch the modifications of a static variable, 
since they are set directly and not using a setter function which can be 
tuned to do additional stuff. Where do you need this? Maybe there is 
another solution to your problem.

Best Fabian

-------------------------------------------------------------------------
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

-------------------------------------------------------------------------
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