Hi, to change the font of a button, one must call
button.getLabelObject().setFont() instead of button.setFont() I think, the fact, that at the button consists of sub-elements is an internal detail and should be handled internally, not as part of the API. In fact, I don't know of any widget toolkit that has a similar API as the above. As the button is a widget by itself, it should also provide a font property itself. As a consequence of this issue, it seems to be impossible to set the font used for Buttons in an Appearance Theme. Are there any plans to allow for doing so? Thanks, Ralf ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ qooxdoo-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel
