All Downloads are FREE. Search and download functionalities are using the official Maven repository.

defaultcontrolsxml.01-button.xml Maven / Gradle / Ivy

Go to download

Lots of Nifty example code! You can find the source for nearly all demos/tutorials in here.

There is a newer version: 1.4.3
Show newest version
<?xml version="1.0" encoding="UTF-8"?>
<nifty xmlns="http://nifty-gui.lessvoid.com/nifty-gui">
  <useStyles filename="nifty-default-styles.xml" />
  <useControls filename="nifty-default-controls.xml" />

  <screen id="start">
    <layer childLayout="center">
      <panel width="25%" height="25%" align="center" valign="center" childLayout="vertical" backgroundColor="#55a5" padding="10">
        <panel height="*" backgroundColor="#55aa" padding="10">
          <!-- add your content here -->
        </panel>
        <panel height="10px" />
        <panel height="21px" childLayout="horizontal">
          <control id="buttonOk" name="button" label="OK" />
          <panel width="*" />
          <control id="buttonCancel" name="button" label="Cancel" />
        </panel>
      </panel>
    </layer>
  </screen>
</nifty>




© 2015 - 2025 Weber Informatics LLC | Privacy Policy