1
0
Fork 0

alining <textarea> and <list> looks nicer

This commit is contained in:
mfranz 2007-03-24 21:33:23 +00:00
parent 2a9993c37e
commit b2fe43808c

View file

@ -14,7 +14,7 @@
<nasal> <nasal>
<open> <open>
tutorial.stopTutorial(); tutorial.stopTutorial();
var list = cmdarg().getNode("group/group[1]/list"); var list = cmdarg().getNode("group[1]/group/list");
var node = props.globals.getNode("/sim/tutorials", 1); var node = props.globals.getNode("/sim/tutorials", 1);
var tut = node.getChildren("tutorial"); var tut = node.getChildren("tutorial");
var current = node.getNode("current-tutorial", 1); var current = node.getNode("current-tutorial", 1);
@ -53,20 +53,22 @@
<group> <group>
<layout>hbox</layout> <layout>hbox</layout>
<default-padding>0</default-padding>
<empty><pref-width>7</pref-width></empty>
<group>
<layout>vbox</layout>
<group>
<layout>vbox</layout>
<text> <text>
<halign>left</halign> <halign>left</halign>
<label></label> <label></label>
<property>/sim/tutorials/current-tutorial</property> <property>/sim/tutorials/current-tutorial</property>
<live>1</live> <live>1</live>
</text> </text>
<empty><stretch>true</stretch></empty>
</group> </group>
<group>
<layout>hbox</layout>
<textbox> <textbox>
<name>textbox</name> <name>textbox</name>
<halign>fill</halign> <halign>fill</halign>
@ -78,7 +80,6 @@
<live>1</live> <live>1</live>
<property>/sim/tutorials/current-description</property> <property>/sim/tutorials/current-description</property>
</textbox> </textbox>
</group>
<group> <group>
<layout>vbox</layout> <layout>vbox</layout>
@ -87,7 +88,7 @@
<name>list</name> <name>list</name>
<halign>fill</halign> <halign>fill</halign>
<pref-width>170</pref-width> <pref-width>170</pref-width>
<pref-height>420</pref-height> <pref-height>400</pref-height>
<property>/sim/tutorials/current-tutorial</property> <property>/sim/tutorials/current-tutorial</property>
<binding> <binding>
<command>dialog-apply</command> <command>dialog-apply</command>