On 14/10/2015 04:40 πμ, SQville wrote:
> voger,
>
> I think it can be done. Instead of subclassing an entire widget try creating
> a Mixin to add a new themable property to your label.
>
> I created this Mixin for you to start from:
> https://github.com/sqville/sqv/blob/master/source/class/sqv/ui/basic/MLabel.js
>
> In your Application.js file add this line before you use it on a label.
> qx.Class.include(qx.ui.basic.Label, sqv.ui.basic.MLabel);
>
> Now all Labels that use qx.ui.basic.Label have a property called
> "rotatevertical" that you can set directly or set using an Appearance value
>
> Give it a try and let me know how it goes
>
> Chris

Thanks. I already solved it by using SVG but I would prefer a more 
"native" solution like this. I will give it a try this weekend and I 
will report back.


------------------------------------------------------------------------------
_______________________________________________
qooxdoo-devel mailing list
qooxdoo-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel

Reply via email to