makehumancommunity / makehuman

This is the main repository for the MakeHuman application as such.
http://www.makehumancommunity.org
Other
1.18k stars 244 forks source link

Bugfix: combobox is unreadable with 'native' theme #202

Closed fjardon closed 1 year ago

fjardon commented 1 year ago

Problem: Combobox is unreadable when using the 'native' theme because the foreground color is set to white and the 'native' background is light-grey.

Solution: Remove the hard-coded stylesheet set by the ComboBox constructor and moves it in the 'makehuman.qss' stylesheet.

Note: Apparently calling setStylesheet in the constructor makes the stylesheet's value the 'default'. Thus when we later call 'setStylesheet("")' the stylesheet values set by the constructor are preserved.

joepal1976 commented 1 year ago

Thanks. This does indeed look better.