tufanv Expert Licensed User Longtime User Apr 10, 2018 #1 Hello, I am trying to change the choicebox's textcolor. ( for the selected ) . I tried : B4X: CSSUtils.SetStyleProperty(ChoiceBox1,"-fx-text-fill","white") but that doesnt work. Searched some on stackoverflow and found this : https://stackoverflow.com/questions/19957272/javafx-choicebox-text-color maybe that's the problem but is there a way to achieve this with cssutils ? ty
Hello, I am trying to change the choicebox's textcolor. ( for the selected ) . I tried : B4X: CSSUtils.SetStyleProperty(ChoiceBox1,"-fx-text-fill","white") but that doesnt work. Searched some on stackoverflow and found this : https://stackoverflow.com/questions/19957272/javafx-choicebox-text-color maybe that's the problem but is there a way to achieve this with cssutils ? ty
Erel B4X founder Staff member Licensed User Longtime User Apr 10, 2018 #2 No. You will need to do it with a CSS file. Upvote 0