Hi, How do I increase the font size of the title of a window? The default font size looks too small IMO.
I tried the theme page at http://qooxdoo.org/documentation/0.8/ui_theming and the following code doesn't work. > qx.Theme.define("qx.theme.modern.Font", > { > fonts : > { > "default" : > { > size : 15, > lineHeight : 1.4 > } > } > }); > > qx.Class.define("sample.Application", > { > extend : qx.application.Standalone, > members : > { > main: function() > { > this.base(arguments); > var win = new qx.ui.window.Window("Login"); > win.setLayout(new qx.ui.layout.VBox(10)); > //win.setShowStatusbar(true); > //win.setStatus("Please enter your username and password"); > win.setShowMinimize(false); > win.setShowMaximize(false); > win.setModal(true); > win.setMovable(false); > win.setShowClose(false); > //win.addListener("resize", win.center); > //ask parent to center the login window every time it's resized > this.getRoot().addListener("resize", function(e) { > win.center(); > }); > win.open(); > this.getRoot().add(win); > > //var atom = new qx.ui.basic.Atom("Please enter your username > and password below!!!"); > //win.add(atom); > > var label = new qx.ui.basic.Label("Please enter your username > and password below!!!").set({ > font : new qx.bom.Font(12, ["Verdana", "sans-serif"]) > }); > win.add(label); > > } > } > }); A pointer/URL to changing style like font size, weight, color etc for various widgets like label, window, atom etc would be useful. cheers, skar. -- -- The life so short, the craft so long to learn. ------------------------------------------------------------------------------ Enter the BlackBerry Developer Challenge This is your chance to win up to $100,000 in prizes! For a limited time, vendors submitting new applications to BlackBerry App World(TM) will have the opportunity to enter the BlackBerry Developer Challenge. See full prize details at: http://p.sf.net/sfu/Challenge _______________________________________________ qooxdoo-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel
