Hi,

I need to change the default font size according to the user logged to the
webpage.
Is there a smart and clean way to do that?

The best I got is to override  the root appearence as in 
  "root":
    {
        style: function(states) {
            return {
                backgroundColor: "background-application",
                textColor: "text-label",
                font: "custom-default"
            };
        }
    },
        
and in the application main 

if (some condition) {    
        qx.theme.manager.Font.getInstance().getTheme().fonts["custom-default"] =
qx.theme.manager.Font.getInstance().getTheme().fonts["default"];
        
qx.theme.manager.Font.getInstance().getTheme().fonts["custom-default"].size
+= 10;
} 


this way (forcing a reload) every object shows the new font size but not
TABLEs and TREVIRTUALs.
How can I achieve that?
Is there a better way?

Thanks in advance.
Massimo
-- 
View this message in context: 
http://qooxdoo.678.n2.nabble.com/Change-application-font-size-tp4967721p4967721.html
Sent from the qooxdoo mailing list archive at Nabble.com.

------------------------------------------------------------------------------
_______________________________________________
qooxdoo-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel

Reply via email to