changing button colours.
Posted: Tue Nov 20, 2007 21:57
Hi were trying to make a color picker for our scene editor, and idealy would like to have a button who's colour can be changed by sliders.
We have tried:
setProperty("FrameColours", "tl:FFFF0000 tr:FFFF0000 bl:FFFF0000 br:FFFF0000");
Only static images, static text and a few other things have them. Is there a way to do something similar with buttons?
The idea being that we click on a current coloured button and the color frame pops up, we pick a color with the slider and see the color update in one of the rectangular widgets. When you click the set color button, the original button on the UI changes color and the colour dialogue/frame closes.
We have tried:
setProperty("FrameColours", "tl:FFFF0000 tr:FFFF0000 bl:FFFF0000 br:FFFF0000");
Only static images, static text and a few other things have them. Is there a way to do something similar with buttons?
The idea being that we click on a current coloured button and the color frame pops up, we pick a color with the slider and see the color update in one of the rectangular widgets. When you click the set color button, the original button on the UI changes color and the colour dialogue/frame closes.