[Gambas-user] Misc Bugs: GTK

Benoît Minisini gambas at ...1...
Sun Nov 15 15:23:51 CET 2009


> I have noticed these little annoying problems.
> 
> Again it is with the GTK component and how it inherits settings.
> 
> 1. Textboxes, comboboxes ... - they correctly do not inherit the
> background  color but they incorrectly inherit the foreground colour.
> I.E text boxes and any other input boxes need not inherit foreground and
> background colours.

You are right, in gb.qt TextBox, ListView... do not inherit background nor 
foreground color. But the problem may comes from GTK+, so I'm not sure I can 
fix it.

> 
> 2. Frames - Do inherit background or foreground colours from their
> parent.
> 

Actually Frame inherits the background color, but not the foreground color. It 
should inherit both, I will check that.

> 
> In a nut shell. I think that ...
> 
> All input controls need not inherit foreground and background colours.
> Containers need to inherit foreground and background colours.

> All controls should inherit the font and size from the parent.

This should be the case, isn't it?

Regards,

-- 
Benoît Minisini




More information about the User mailing list