hi guys,
im calculating the position of some gui elements from inside a controller.
after changing the resolution i need to reacalculate them, is their an resolution changed event wich is fired after the screen is resized?
unfortunatly there is currently no event for that
You can not allow to users resize your app, and leave this as an option somewhere. Then, when the user changes the resolution, you’ll know, because you’ll be the one who’ll be implementing it.
ur right but, after the methods “app.restart” and “nifty.resolutionChanged” are called the size of the niftygui dont change immediately.
some of the elements im using are resized and positoinized automaticaly by nifty, only after nifty has finished the resizing ect… the elements have the new values.