My whole application is right to left for Persian language. I need to show the alerts in right to left.
How could I change the properties of alert dialogue for this purpose?
You should be able to change the nodeOrientation
on the dialogPane
of the Dialog
:
Alert alert = ...
alert.getDialogPane().setNodeOrientation(NodeOrientation.RIGHT_TO_LEFT);
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With