I made a dialog form using modalexample and it works. Then compiled it to library.
When running it as a library I get Error saying that the fxml file is missing, while it is in the "files" directory.
Where should I put it for the library to find it ?
Another thing - Radiobutton - when checking it does not remove the check of the other button, I had to do it manually in the events.
B4X:
Sub serverrb_SelectedChange(Selected As Boolean)
If Selected Then clientrb.Selected = False
End Sub
Sub clientrb_SelectedChange(Selected As Boolean)
If Selected Then serverrb.Selected = False
End Sub
You don't need to wrap them in a Group. Just select the ones you want grouped by Ctl-Click on each one of them and then type an arbitrary name in the Properties pane Toggle Group box.
It looks like you can't, even in Java, set the fonts directly by code but need to use CSS styles for TextField and TextArea. In code you can see the existing styles with the read-only StyleClasses property and set them (supposedly - I haven't played with it at all yet!) using the Style property. All nodes support styling but obviously with different options for different nodes. See the CSS Reference Guide here.
You should also be able to set multiple styles in SceneBuilder in the Style box in the Properties pane where you separate individual styles with a semi-colon. I've only briefly played with this but it seems to work as advertised.
TextInputControl is the abstract base class for text input controls. You cannot instantiate it directly. It is inherited by TextArea and TextField which therefore inherit its CCS properties. Look at this line immediately preceding your screen capture.
TextArea has all the properties and pseudo-class state of TextInputControl
As Andrew suggested, you can set the font parameters using CSS styling either in the style field in the Scene Builder or in code using Node.Style method. ie.