I know this is an old thread and several versions back, but I'm having the same or a similar issue with the current version (Qooxdoo 2.0.1). I have a class that uses a label. I'm attempting to get the font height from the label and doing a getFont() only returns a Null. I had originally set the font to "Bold", and when attempting to get the font height: myLabel.getFont().getHeight() I got a message something like "Bold" does not have a method "getHeight".
So I'm stuck-- how can I get the font height? I'm constructing a widget that is highly-dependent on its size and I need to know the font size metrics to compute (suggest--whatever) the outside boundaries for the widget. The widget itself has four labels stacked on top of each other. I want to set the max width and height for the overall box as a function of the font size. http://qooxdoo.678.n2.nabble.com/file/n7580860/qooxdoo_font_size_problem.png Thanks for your assistance John -- View this message in context: http://qooxdoo.678.n2.nabble.com/default-font-not-applied-tp4150015p7580860.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 [email protected] https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel
