JsRender/NodeToGlade.vala
authorAlan Knowles <alan@roojs.com>
Wed, 10 Sep 2014 12:31:31 +0000 (20:31 +0800)
committerAlan Knowles <alan@roojs.com>
Wed, 10 Sep 2014 12:31:31 +0000 (20:31 +0800)
JsRender/NodeToGlade.vala

index a603fa4..0d56088 100644 (file)
@@ -335,7 +335,13 @@ public class JsRender.NodeToGlade : Object {
                <child>
                ";
                        if (this.node.items.size > 0) {
-                               ret+= this.mungeChild(pad + "        " , this.node.items.get(0), true );
+                               ret+= this.mungeChild(pad + "        " , this.node.items.get(0), false );
+                               ret+= "<packing>
+        <property name=\"expand\">True</property>
+        <property name=\"fill\">True</property>
+        <property name=\"position\">1</property>
+      </packing>";
+
                } else {
                        ret+="<placeholder/>";
                }