Le 12/06/2014 09:00, Wolfgang, dl7nb a écrit :
> Hello,
> now that I have learned the gb.gui does not work for me I have tried qt4.
> To my surprise I can not set the backgroundcolor of e.g. Tabstrip (only
> a small area is in background color) or button, which has no background
> at all.
> Is this a bug or is this a feature?
>
> Wolfgang
>

The widget appearance of basic controls is not managed by Gambas, but by 
the underlying GUI toolkit through the widget theme.

Many Qt widget themes don't allow to change the background color of 
their buttons for example.

You are using the QGtk widget theme, which is a Qt theme that embed the 
current GTK+ theme in QT. So the final appearance depends on the GTK+ 
theme used and on possible bugs in QGtk.

Just change your widget theme, and you will see that sometimes the 
background color is taken into account or not, in some controls or 
others. I didn't try every widget theme, so I can't tell you. I use 
Oxygen only.

Regards,

-- 
Benoît Minisini

------------------------------------------------------------------------------
HPCC Systems Open Source Big Data Platform from LexisNexis Risk Solutions
Find What Matters Most in Your Big Data with HPCC Systems
Open Source. Fast. Scalable. Simple. Ideal for Dirty Data.
Leverages Graph Analysis for Fast Processing & Easy Data Exploration
http://p.sf.net/sfu/hpccsystems
_______________________________________________
Gambas-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/gambas-user

Reply via email to