
reload.next.xml Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of nifty-examples Show documentation
Show all versions of nifty-examples Show documentation
Lots of Nifty example code! You can find the source for nearly all demos/tutorials in here.
<?xml version="1.0" encoding="UTF-8"?> <nifty xmlns="http://nifty-gui.lessvoid.com/nifty-gui"> <!-- note: no useStyles or useControls in here --> <!-- note: you can't use that file on its own --> <!-- note: this file is only demonstrating loading additional screens --> <screen id="next" controller="de.lessvoid.nifty.examples.reload.ReloadScreen"> <layer id="layer" backgroundColor="#803f" childLayout="center"> <panel id="panel" height="25%" width="35%" align="center" valign="center" backgroundColor="#f60f" childLayout="center" visibleToMouse="true"> <!-- we can use a button here but we've not included the controls at all! magic? no :) this whole screen is loaded additionally to other xml data loaded before --> <control id="back" name="button" label="Back" align="center" valign="center"/> </panel> </layer> </screen> </nifty>
© 2015 - 2025 Weber Informatics LLC | Privacy Policy