You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
G'day,
Would anyone able to point me in the right direction. I have been trying to use JideFX with Scene Builder 2 generated FXML files.
It is probably a stupid question... but I'll ask anyway. Sorry if it is out of order.
What is the best method to enable JideFX validation and decoration on a textfield added using SB2?
I understand you need to use "new DecorationPane(pane)" , however, if the pane is generated within SB2, and embedded within other Pane's how would one go about called the DecorationPane method?
I can easily embed the validation within the fxml's controller and I know this works well.
And, If I load the FXML file manually, and wrap the pane within DecorationPane it works and the decorations show when fields are invalid,
Where I am coming unstuck, is I would like to be able to design the GUI within SB2.
Any pointers would be very appreciated.
Thanks in advance.
PS:Understand if it is not easy, and I have to revert to manually coding the GUI, but it would be so much easier if there was a simple way to do this within SB2.
Cheers.
The text was updated successfully, but these errors were encountered:
Unless SB is written with JideFX decoration/validation in mind, there is really no way to make it seamlessly integrated. You can still design in SB because decorations don't change the layout anyway. I believe you can even include a DecorationPane in the hierarchy using SB, I believe. The rest can controlled by code outside SB. You probably can't add all the logic code using SB anyway, right?
G'day,
Would anyone able to point me in the right direction. I have been trying to use JideFX with Scene Builder 2 generated FXML files.
It is probably a stupid question... but I'll ask anyway. Sorry if it is out of order.
What is the best method to enable JideFX validation and decoration on a textfield added using SB2?
I understand you need to use "new DecorationPane(pane)" , however, if the pane is generated within SB2, and embedded within other Pane's how would one go about called the DecorationPane method?
I can easily embed the validation within the fxml's controller and I know this works well.
And, If I load the FXML file manually, and wrap the pane within DecorationPane it works and the decorations show when fields are invalid,
Where I am coming unstuck, is I would like to be able to design the GUI within SB2.
Any pointers would be very appreciated.
Thanks in advance.
PS:Understand if it is not easy, and I have to revert to manually coding the GUI, but it would be so much easier if there was a simple way to do this within SB2.
Cheers.
The text was updated successfully, but these errors were encountered: