fesch / Structorizer.Desktop

Structorizer is a little tool which you can use to create Nassi-Schneiderman Diagrams (NSD).
https://structorizer.fisch.lu
GNU General Public License v3.0
65 stars 19 forks source link

Display problem in tree views after changing to "Nimbus" Look and Feel #986

Open codemanyak opened 2 years ago

codemanyak commented 2 years ago

There is an inconvenient flaw in the wake of #966: When changing the Look and Feel towards "Nimbus" (from some different one) after a tree view, e.g. Arranger index or Find & Replace result tree, had been opened before then the combination of unfocused background colour and font colour may be dysfunctional in these tree views (e.g. black on dark gray). This is due to some unconventional reaction of the Nimbus LaF to UI property retrieval. Workaround: Close Structorizer (with Nimbus as chosen LaF) and start it again. While you don't change the LaF again to and fro all will be fine. (Other standard LaFs like Metal, CDE/Motif, GTK+, and Windows work as expected, by the way.)

codemanyak commented 2 years ago

A similar effect occurs when switching from Nimbus to GTK+, just that in this case the tree nodes appear in white font on white background unless they are highlighted. Same workaround as above helps.