moore_it Well-Known Member Licensed User Longtime User Nov 30, 2015 #1 Hi all, it's possible to align text in an editfield ? Es.: right for numbers input left for text input center for date input .... thanks in advice Toni
Hi all, it's possible to align text in an editfield ? Es.: right for numbers input left for text input center for date input .... thanks in advice Toni
Daestrum Expert Licensed User Longtime User Nov 30, 2015 #2 Use style "-fx-alignment: left" or "-fx-alignment: right" or "-fx-alignment: center" Upvote 0
giannimaione Well-Known Member Licensed User Longtime User Dec 5, 2015 #4 WARNING: Caught java.lang.IllegalArgumentException: No enum constant javafx.geometry.Pos.right' while calculating value for '-fx-alignment' from inline style on TextField@11dbb6a[styleClass=text-input text-field] Upvote 0
WARNING: Caught java.lang.IllegalArgumentException: No enum constant javafx.geometry.Pos.right' while calculating value for '-fx-alignment' from inline style on TextField@11dbb6a[styleClass=text-input text-field]
Daestrum Expert Licensed User Longtime User Dec 6, 2015 #5 Apologies (Brain was not engaged whilst typing) It's actually : CENTER_LEFT CENTER_RIGHT CENTER Upvote 0
giannimaione Well-Known Member Licensed User Longtime User Dec 6, 2015 #6 yes! yes! yes! Thank you Upvote 0