Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [platform-swt-dev] Coloring widgets on Qt

Tuesday, January 2, 2007, 5:05:13 PM, Stef van Dijk wrote:

> Yeah, I'm afraid I don't know about that environment. When I worked on 
> this a few years ago, we were building on top of Qt/E and Qtopia (I assume 
> the eSWT at eclipse.org still does) and running either on a device (ie, 
> Sharp Zaurus or the Mainstone) or within QVFB. What we observed was that 
> certain themes would not "support" changing the color of widgets such as 
> buttons whereas some themes would. Presumably the theme was superceding 
> any color settings the application tried to make.
> Sorry, but that's about all I have to offer.

>     Stef

I can confirm this. For instance, some of the Qt widgets in
the Windows style don't support changing the background
color. So it would depend on what version of Qt you were
using, and what style is being used for you within eSWT. I
don't think eSWT is going to give you a way to pick a
different style, but you could try hacking the eSWT code
yourself to do so to see if that's the problem. I recall the
Windows 95 style was a bit more forgiving than the XP one
when it comes to covers.

-- 
Regards,
David                            
mailto:dlwhiteman@xxxxxxxxxxxxxxx
news://news.eclipse.org/eclipse.platform.swt
http://www.eclipse.org/newsportal/thread.php?group=eclipse.platform.swt




Back to the top