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
