Hello again,

I've got a question this time: How can I change the appearance of a widget?
Setting the Property appears to fail, regarding this:
___________________________________________________________________

theme.registerAppearance("button-custom", {
    initial : function(vTheme) {
        var orig = vTheme.initialFrom("button");
                orig.backgroundColor = "red";
                return orig;
    },
    state : function(vTheme, vStates) {
      return vTheme.stateFrom("button", vStates);
    } 
});

var test = new qx.ui.form.Button("test");
test.set({appearance : "button-custom"});
___________________________________________________________________

If I have to create a custom class for this button, can I do this with the
framework build-version? And can you provide an example?


Thanks for your help!

Stefan


-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
qooxdoo-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel

Reply via email to