-
Notifications
You must be signed in to change notification settings - Fork 68
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Save Ui Properties #98
Comments
Hi @aang7 I think this would make a great addition to PreferencesFX, it makes sense, since you already specify your way of persisting the settings (or keep the default Preferences API) to also save other settings that way.
Those would then be persisted and loaded, but not shown in the GUI. Feel free to submit a PR! |
@martinfrancois I would like to try :) |
Oh taking advantage of the moment, I just get the next exception trying to get the view and using another stage/scene and for some reason I get a NullPointerException while setting the scene:
This is the code I use:
The line where preferencesScene is being instantiated is where the exception message marks. The try-catch is not catching anything, so I guess is related to other scope. |
@aang7 Concerning your first comment on how to start: |
Concerning the second thing you mentioned: We didn't foresee people wanting to use PreferencesFX as a node in a new window, which is why an exception gets thrown in this case, since in |
Not an issue, but I want to know if there is a way to save for example a Splitpane Divider Position using PreferencesFX, is there a way? Thank you.
The text was updated successfully, but these errors were encountered: