This commit is contained in:
parent
004f29b6a7
commit
ec336c5d67
|
@ -2,21 +2,14 @@ sub init()
|
|||
m.name = m.top.findNode("label")
|
||||
m.value = m.top.findNode("value")
|
||||
|
||||
m.top.layoutDirection = "horiz"
|
||||
m.top.vertAlignment = "top"
|
||||
|
||||
m.name.width = 250
|
||||
m.name.height = 80
|
||||
m.name.width = 240
|
||||
m.name.height = 75
|
||||
|
||||
m.name.vertAlign = "center"
|
||||
m.name.horizAlign = "center"
|
||||
|
||||
' TODO - calculate "width" better... this is total item - (label + spacings)
|
||||
m.value.width = 1000 - 230
|
||||
m.value.height = 80
|
||||
|
||||
m.value.hintText = "Enter a value..."
|
||||
m.value.maxTextLength = 100
|
||||
m.value.maxTextLength = 120
|
||||
end sub
|
||||
|
||||
sub itemContentChanged()
|
||||
|
|
|
@ -6,9 +6,8 @@ sub init()
|
|||
|
||||
m.top.observeField("itemSelected", "onItemSelected")
|
||||
|
||||
m.top.itemSize = [1000, 80]
|
||||
m.top.itemSpacing = [0, 20]
|
||||
m.top.vertAlign = "middle"
|
||||
m.top.itemSize = [750, 75]
|
||||
m.top.itemSpacing = [0, 25]
|
||||
|
||||
m.top.setfocus(true)
|
||||
|
||||
|
|
|
@ -7,7 +7,7 @@
|
|||
translation="[150, 150]" />
|
||||
<ConfigList
|
||||
id="configOptions"
|
||||
translation="[150, 250]" />
|
||||
translation="[150, 240]" />
|
||||
<Button
|
||||
id="submit"
|
||||
text="Submit"
|
||||
|
@ -16,7 +16,7 @@
|
|||
<label text=""
|
||||
id="alert"
|
||||
font="font:MediumSystemFont"
|
||||
translation="[150, 550]" />
|
||||
translation="[150, 555]" />
|
||||
</children>
|
||||
<script type="text/brightscript" uri="scene.brs"/>
|
||||
</component>
|
||||
|
|
Loading…
Reference in New Issue
Block a user