
nifty-controls.nifty-drop-down.xml Maven / Gradle / Ivy
<?xml version="1.0" encoding="UTF-8"?> <nifty-controls xmlns="http://nifty-gui.lessvoid.com/nifty-gui"> <!-- DROP DOWN CONTROL --> <controlDefinition style="nifty-drop-down" name="dropDown" controller="de.lessvoid.nifty.controls.dropdown.DropDownControl" inputMapping="de.lessvoid.nifty.controls.dropdown.DropDownControlInputMapping"> <panel style="#panel"> <interact onClick="dropDownClicked()"/> <panel style="#panel-text"> <text id="#text" style="#text" text=""/> </panel> <panel style="#panel-icon"> <image style="#icon"/> </panel> </panel> </controlDefinition> <!-- DROP DOWN BOX POPUP (The Actual List this is) --> <popup id="dropDownBoxSelectPopup" style="nifty-drop-down" childLayout="absolute" controller="de.lessvoid.nifty.controls.dropdown.DropDownPopup"> <interact onClick="close()"/> <panel id="#panel" style="#list-panel" height="200px"> <control id="#listBox" name="listBox" horizontal="optional" displayItems="$displayItems" selectionMode="Single" forceSelection="true"/> </panel> </popup> </nifty-controls>
© 2015 - 2025 Weber Informatics LLC | Privacy Policy