gjoisa Active Member Licensed User Longtime User Dec 1, 2013 #1 I just downloaded and testing B4J . Designing a layout . But in TextField's property list there is no text size setting property . Tried to change this in code , but there is also no such property . How to do this ?
I just downloaded and testing B4J . Designing a layout . But in TextField's property list there is no text size setting property . Tried to change this in code , but there is also no such property . How to do this ?
Erel B4X founder Staff member Licensed User Longtime User Dec 1, 2013 #2 For some reason Oracle didn't expose an API for that. You should set it with the style property: "-fx-font-size: 30;" You can either set it in the scene builder or by setting the Style property in your code. Upvote 0
For some reason Oracle didn't expose an API for that. You should set it with the style property: "-fx-font-size: 30;" You can either set it in the scene builder or by setting the Style property in your code.
gjoisa Active Member Licensed User Longtime User Dec 2, 2013 #3 Thank you . This is quite new concept to basic programmers . Where can we get list of key words for various needs of style property ? For eg : to change the back color of text box or label how to define it ? Upvote 0
Thank you . This is quite new concept to basic programmers . Where can we get list of key words for various needs of style property ? For eg : to change the back color of text box or label how to define it ?
Erel B4X founder Staff member Licensed User Longtime User Dec 2, 2013 #4 The full reference is available here: http://docs.oracle.com/javafx/2/api/javafx/scene/doc-files/cssref.html Upvote 0
The full reference is available here: http://docs.oracle.com/javafx/2/api/javafx/scene/doc-files/cssref.html