I defined multiline String variable in fx:define:
<fx:define>
<String fx:id="LABEL_01" fx:value="${'liczba czytelników\nzarejestrowanych'}"/>
</fx:define>
Now I wish to refer to it in Label. How to do this using LABEL_01 as a text value? This doesn't work:
<Label text="$LABEL_01"/>
Wish to mention that this piece of code works:
<Label text="${'liczba czytelników\nzarejestrowanych'}"/>
Java code also works (why shouldn't it?):
Label labelLiczbaCzytelnikowZarejestrowanych = new Label("liczba czytelników\nzarejestrowanych");
but I want do it in FXML.