I'm writing a basic app, with a zoom feature, but in CSS only (i cannot use
like Ctrl + + from browser).

So, doing this i extend the qx.ui.core.LayoutItem to add a zoom property,
and override the getSizeHint (I catch the base function, and add zoom value
on it if result from base is not null).

This works pretty good, i'm able to have a zoom on many qooxdoo elements,
and scroller & co update automatically quite good too.


My question :
If i directly rework getSizeHint, inside the final class (let say, a
qx.ui.basic.Label), this will not work. if I extract every class (so the
widget, the layoutItem... more if needed), and only rework the
qx.ui.core.LayoutItem, and change extend in all class until the label class
(the final one), this works good, but i duplicate a lot of qooxdoo classes,
which i prefer to not do to keep the system "original".

So, if there is any way to change the extend of an existing class, lets say
in the final class (label) constructor ? This should help me to not
duplicate many intermediate classes, for almost nothing except changing the
extend class of widget...

--
View this message in context: 
http://qooxdoo.678.n2.nabble.com/Changing-extend-class-tp7580552.html
Sent from the qooxdoo mailing list archive at Nabble.com.

------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
qooxdoo-devel mailing list
qooxdoo-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel

Reply via email to