JFXtras / jfxtras-styles

Java, JavaFX themes or look and feels. Currently contains JMetro theme.
https://pixelduke.com/java-javafx-theme-jmetro/
643 stars 144 forks source link

Text (as in javafx.scene.text.Text) font size change on parent right-click #231

Open ilacc1 opened 3 months ago

ilacc1 commented 3 months ago

This is an odd one. In my app I have a Pane with a bunch of shapes including Text. With JMetro theme enabled, when I right-click on the Pane, all Text elements font size jumps from 10 to 12 (according to scenicview). This doesn't happen without JMetro and with other themes.

I couldn't work out exactly which styles are applied on right-click with scenicview, but perhaps this is an obvious one if you are familiar with JMetro?

Many thanks in advance

dukke commented 3 months ago

Perhaps try using Transit Theme instead (version 2) - https://www.pixelduke.com/2024/07/24/transit-version-2-0-released/ I don't have much time at the moment to look at this bug and Transit Theme version 2 has improvements over JMetro.