Hi,
Thanks for both answers. I ended up creating "defaultlarge" font and toggle
between that and "default". Works great.
-ilkka
On Tue, Apr 13, 2010 at 5:17 PM, Dave Baggett <[email protected]> wrote:
>
> I use this to bump up a widget's font size in special cases where I don't
> want to make a theme element:
>
>
> //
> // Make the font size of a widget bigger than the theme
> default.
> //
> function bigfont(obj) {
> var manager = qx.theme.manager.Font.getInstance();
> var defaultFont = manager.resolve(obj.getFont());
> var size = defaultFont.getSize();
> var newFont = defaultFont.clone();
> newFont.setSize(size + 2);
> obj.setFont(newFont);
> }
>
>
> This code is due to Martin W., I think.
>
> Dave
>
> --
> View this message in context:
> http://n2.nabble.com/Font-size-tp4894977p4896308.html
> Sent from the qooxdoo mailing list archive at Nabble.com.
>
>
> ------------------------------------------------------------------------------
> 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
>
--
http://iki.fi/iao/
+358 50 486 0721
------------------------------------------------------------------------------
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