<prefab name="VNTextbox" type=""> <asset type="truetype" name="font_main" /> <asset type="texture" name="texture_border" /> <UIBorder borderSize="16, 16" alignment="45, 0, 0, 0" alignUnitLeft="UI_COMPONENT_ALIGN_UNIT_PERCENT" ref="border" alignX="UI_COMPONENT_ALIGN_END" alignY="UI_COMPONENT_ALIGN_STRETCH" texture="texture_border" /> <child> <UIRichTextLabel alignment="0, 0, 75, 0" alignUnitLeft="UI_COMPONENT_ALIGN_UNIT_PERCENT" alignUnitRight="UI_COMPONENT_ALIGN_UNIT_PERCENT" alignX="UI_COMPONENT_ALIGN_MIDDLE" alignY="UI_COMPONENT_ALIGN_MIDDLE" ref="uiLabel" lineHeight="1.5" /> </child> <UIMenuController /> <UISimpleMenu /> <!-- <item ref="button0" prefab="prefabs/Button" menuX="0" menuY="0" /> --> <item ref="button0" alignment="0, 0, 128, 32" prefab="prefabs/Button" menuX="0" menuY="0" /> <item ref="button1" alignment="192, 0, 128, 32" prefab="prefabs/Button" menuX="1" menuY="0" /> <item ref="button2" alignment="0, 180, 128, 32" prefab="prefabs/Button" menuX="0" menuY="1" /> <item ref="button3" alignment="192, 180, 128, 32" prefab="prefabs/Button" menuX="1" menuY="1" /> <!-- <item prefab="Button" ref="button0" alignment="0, 0, 0, 0" menuX="0" menuY="0" /> <item prefab="Button" ref="button1" alignment="180, 0, 0, 0" menuX="1" menuY="0" /> <item prefab="Button" ref="button2" alignment="0, 64, 0, 0" menuX="0" menuY="1" /> <item prefab="Button" ref="button3" alignment="180, 64, 0, 0" menuX="1" menuY="1" /> --> <VNTextboxScroller ref="textboxScroller" label="uiLabel" visibleLines="6" /> </prefab>