Hi,
Is the way to increase or decrease font size of a label at runtime? I know I
can do this:
label.setFont(new qx.bom.Font(12));
But then the font face doesn't look same anymore. I guess that is because
default font face (and size) depends on the version of OS. In an ideal case
I would like to just increase font size relatively, e.g current size +- 2
pixels.
label.getFont().setHeight( label.getFont().getHeight() + 2 );
Is something like that possible? My example doesn't work. I'm using Qooxdoo
1.0.1 and Modern theme.
Thanks,
-ilkka
--
http://iki.fi/iao/
------------------------------------------------------------------------------
Download Intel® Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
_______________________________________________
qooxdoo-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel