alining <textarea> and <list> looks nicer
This commit is contained in:
parent
2a9993c37e
commit
b2fe43808c
1 changed files with 26 additions and 25 deletions
|
@ -14,7 +14,7 @@
|
|||
<nasal>
|
||||
<open>
|
||||
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 tut = node.getChildren("tutorial");
|
||||
var current = node.getNode("current-tutorial", 1);
|
||||
|
@ -53,32 +53,33 @@
|
|||
|
||||
<group>
|
||||
<layout>hbox</layout>
|
||||
<default-padding>0</default-padding>
|
||||
<empty><pref-width>7</pref-width></empty>
|
||||
|
||||
<group>
|
||||
<layout>vbox</layout>
|
||||
<text>
|
||||
<halign>left</halign>
|
||||
<label></label>
|
||||
<property>/sim/tutorials/current-tutorial</property>
|
||||
<live>1</live>
|
||||
</text>
|
||||
|
||||
<group>
|
||||
<layout>vbox</layout>
|
||||
<text>
|
||||
<halign>left</halign>
|
||||
<label></label>
|
||||
<property>/sim/tutorials/current-tutorial</property>
|
||||
<live>1</live>
|
||||
</text>
|
||||
</group>
|
||||
<empty><stretch>true</stretch></empty>
|
||||
</group>
|
||||
|
||||
<textbox>
|
||||
<name>textbox</name>
|
||||
<halign>fill</halign>
|
||||
<pref-width>600</pref-width>
|
||||
<pref-height>480</pref-height>
|
||||
<slider>20</slider>
|
||||
<wrap>true</wrap>
|
||||
<editable>false</editable>
|
||||
<live>1</live>
|
||||
<property>/sim/tutorials/current-description</property>
|
||||
</textbox>
|
||||
</group>
|
||||
<group>
|
||||
<layout>hbox</layout>
|
||||
|
||||
<textbox>
|
||||
<name>textbox</name>
|
||||
<halign>fill</halign>
|
||||
<pref-width>600</pref-width>
|
||||
<pref-height>480</pref-height>
|
||||
<slider>20</slider>
|
||||
<wrap>true</wrap>
|
||||
<editable>false</editable>
|
||||
<live>1</live>
|
||||
<property>/sim/tutorials/current-description</property>
|
||||
</textbox>
|
||||
|
||||
<group>
|
||||
<layout>vbox</layout>
|
||||
|
@ -87,7 +88,7 @@
|
|||
<name>list</name>
|
||||
<halign>fill</halign>
|
||||
<pref-width>170</pref-width>
|
||||
<pref-height>420</pref-height>
|
||||
<pref-height>400</pref-height>
|
||||
<property>/sim/tutorials/current-tutorial</property>
|
||||
<binding>
|
||||
<command>dialog-apply</command>
|
||||
|
|
Loading…
Reference in a new issue