
defaultcontrolsxml.09-radiobutton.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" > <useStyles filename="nifty-default-styles.xml" /> <useControls filename="nifty-default-controls.xml" /> <screen id="start"> <layer childLayout="center"> <panel childLayout="horizontal" align="center" valign="center" width="50%" height="50%" backgroundColor="#55a5" padding="10"> <control id="RadioGroup-1" name="radioButtonGroup" /> <control name="label" text="Radio Buttons" /> <panel width="10" /> <panel childLayout="vertical" backgroundColor="#8001" paddingLeft="7px" paddingRight="7px" paddingTop="4px" paddingBottom="4px" width="105px"> <effect> <onActive name="border" color="#0008" /> </effect> <panel childLayout="horizontal"> <control name="label" text="Option 1" with="60px" /> <control name="radioButton" id="option-1" group="RadioGroup-1" /> </panel> <panel childLayout="horizontal"> <control name="label" text="Option 2" with="60px" /> <control name="radioButton" id="option-2" group="RadioGroup-1" /> </panel> <panel childLayout="horizontal"> <control name="label" text="Option 3" with="60px" /> <control name="radioButton" id="option-3" group="RadioGroup-1" /> </panel> <panel childLayout="horizontal"> <control name="label" text="Option 4" with="60px" /> <control name="radioButton" id="option-4" group="RadioGroup-1" /> </panel> </panel> </panel> </layer> </screen> </nifty>
© 2015 - 2025 Weber Informatics LLC | Privacy Policy