[Gambas-bugtracker] Bug #1667: The foreground property does not work in the following classes

bugtracker at gambaswiki.org bugtracker at gambaswiki.org
Fri Oct 25 15:31:25 CEST 2019


Comment #1 by Benoît MINISINI:

Foreground and background colors are seen as indication by the widget theme, and are often ignored.

For example, the radiobutton and checkbox marks are usually images on GTK+ themes, and so changing the colors has no effect.

There is even no real concept of system colors anymore in GTK+3 (they use a big undocumented CSS file instead, some themes using CSS variables to mimic system colors, but each theme differently of course).

As for the Button control, some widget themes honors the background or foreground colors.

As for the TextEdit control, it's different, as it's a rich text editor, each paragraph and character having its own colors. But as far as I remember, it should honor the background and foreground colors as defaults.

More information about the Bugtracker mailing list