jf-roku/components/ServerScene.xml

44 lines
1.2 KiB
XML
Raw Normal View History

2019-02-11 04:40:07 +00:00
<?xml version="1.0" encoding="utf-8" ?>
<component name="ServerSelection" extends="Scene">
<children>
<label text="Connect to Server" translation="[150, 150]" />
<LayoutGroup layoutDirection="vert" itemSpacings="20" translation="[150, 200]">
<LayoutGroup layoutDirection="horiz" itemSpacings="20">
<Label text="Host:" />
<TextEditBox
id="host"
hintText="127.0.0.1 or https://example.com"
hintTextColor="#555555"
textColor="#777777"
width="500"
/>
</LayoutGroup>
<LayoutGroup layoutDirection="horiz" itemSpacings="20">
<Label text="Port:" />
<TextEditBox
id="port"
hintText="8096 or blank"
hintTextColor="#555555"
textColor="#777777"
width="500"
/>
</LayoutGroup>
<Button
id="submit_btn"
text="Submit"
/>
</LayoutGroup>
2019-02-11 04:40:07 +00:00
</children>
<interface>
<field id="hostname" type="string" alias="host.text" />
<field id="port" type="string" alias="port.text" />
2019-02-11 04:40:07 +00:00
</interface>
<script type="text/brightscript" uri="pkg:/components/ServerScene.brs"/>
2019-02-11 04:40:07 +00:00
</component>