Hi Chris, Thank you for your example. Unfortunately I cannot use that because we want all our text colors in the application to be different from the Qx default but this is decided at runtime so I cannot used decorators then since we need to call setTextColor with the color the server determined.
Best regards, Jeroen -----Original Message----- From: Christian Hagendorn [mailto:[email protected]] Sent: donderdag 31 oktober 2013 11:32 To: [email protected] Subject: Re: [qooxdoo-devel] Issue with textColor of a qx.ui.menu.Button Hi Jeroen, you can't set the text color by code, because this value will alway be used and the appearance value will be ignored. Furthermore you can't control the text color with the widget state, because the state is only used from the appearance. But you can set a custom appearance id by code. Just define a custom id, extend from the original "menu-button" and do your adaptions: http://tinyurl.com/p94xaso Cheers, Chris -- View this message in context: http://qooxdoo.678.n2.nabble.com/Issue-with-textColor-of-a-qx-ui-menu-Button-tp7584834p7584868.html Sent from the qooxdoo mailing list archive at Nabble.com. ------------------------------------------------------------------------------ Android is increasing in popularity, but the open development platform that developers love is also attractive to malware creators. Download this white paper to learn more about secure code signing practices that can help keep Android apps secure. http://pubads.g.doubleclick.net/gampad/clk?id=65839951&iu=/4140/ostg.clktrk _______________________________________________ qooxdoo-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel ------------------------------------------------------------------------------ Android is increasing in popularity, but the open development platform that developers love is also attractive to malware creators. Download this white paper to learn more about secure code signing practices that can help keep Android apps secure. http://pubads.g.doubleclick.net/gampad/clk?id=65839951&iu=/4140/ostg.clktrk _______________________________________________ qooxdoo-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel
