How can we customize the UI elements created by the UIFactoryService & the DialogService #1317
Unanswered
DeathPhoenix22
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi all,
I'd like to know how to customize these services. If I try to replace them, I get an error saying that these services names are already loaded. If I try to extend them, they're not Open, so I can't. If I add a custom service that fullfill the UI Services, FXGL will not use them and always rely on those that he registered.
In short, I'm currently unable to customize the UI elements generated by these Factories. Note that FXML CSS customization isn't flexible enough to perform the changes that I need to do.
The only solution I have for now is to fully rewrite a side UI Factory system and avoid calling default Scene methods such as "fireExitToMainMenu" which will automatically prompt a default "confirmationDialog" that I can't customize, since the factories are not open.
I'm I missing something?
Thanks,
Beta Was this translation helpful? Give feedback.
All reactions