On Tue, Oct 6, 2009 at 7:07 PM, Christian Schmidt <
[email protected]> wrote:
> The color is set with the decoration "toolbar-button-checked" or
> "toolbar-button-hovered" (dependent on his state). To override the
> color, you have to override the complete decoration:
> qx.Theme.define("custom.theme.Decoration",
> {
> extend : qx.theme.modern.Decoration,
>
> decorations :
> {
> "toolbar-button-checked" :
> {
> decorator : qx.ui.decoration.Beveled,
>
> style :
> {
> outerColor : "#b6b6b6",
> innerColor : "#f8f8f8",
> backgroundImage : "decoration/form/button-checked-c.png",
> backgroundRepeat : "scale"
> }
> }
> }
> });
> You find the decorator definitions from the framework in the
> qx/theme/modern/Decoration.js file. I think the best way to is to search
> after the decorator keys and copy them to your decoration definition and
> change the color there.
>
Thanks Chris, that worked :) The bad news is that most colors aren't colors
used directly, but images with the colors in them :(
Guess I have to change those pics which I'm not interested as of now.
Perhaps another day.
Thanks once again for the tips though :)
cheers,
skar.
------------------------------------------------------------------------------
Come build with us! The BlackBerry® Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay
ahead of the curve. Join us from November 9-12, 2009. Register now!
http://p.sf.net/sfu/devconf
_______________________________________________
qooxdoo-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel