D Deleted member 103 Guest Jun 30, 2016 #1 Hi, I'm doing something wrong or is it an error? The text-alignment Left and Center is OK, the text-alignment right but not! Attachments Test-Alignment.zip 2.1 KB · Views: 282
Hi, I'm doing something wrong or is it an error? The text-alignment Left and Center is OK, the text-alignment right but not!
Erel B4X founder Staff member Licensed User Longtime User Jun 30, 2016 #2 This cannot be a bug in B4J as you are setting the style directly (and it is handled by the JavaFX engine). Please start a new thread in the questions forum. Upvote 0
This cannot be a bug in B4J as you are setting the style directly (and it is handled by the JavaFX engine). Please start a new thread in the questions forum.
LucaMs Expert Licensed User Longtime User Jun 30, 2016 #3 May be... but try: TextField3.Style = "-fx-alignment: CENTER-RIGHT" Upvote 0
D Deleted member 103 Guest Jun 30, 2016 #4 LucaMs said: May be... but try: TextField3.Style = "-fx-alignment: CENTER-RIGHT" Click to expand... Grazie Luca, it works ! Upvote 0
LucaMs said: May be... but try: TextField3.Style = "-fx-alignment: CENTER-RIGHT" Click to expand... Grazie Luca, it works !
Erel B4X founder Staff member Licensed User Longtime User Jun 30, 2016 #5 BTW, it is a mistake to set the Style properly directly. You should use CSSUtils.SetStyleProperty. Upvote 0