NewBranch.bjs
authorAlan Knowles <alan@roojs.com>
Thu, 21 Mar 2019 04:34:58 +0000 (12:34 +0800)
committerAlan Knowles <alan@roojs.com>
Thu, 21 Mar 2019 04:34:58 +0000 (12:34 +0800)
NewBranch.vala

NewBranch.bjs
NewBranch.vala

index 5b5fa32..225edfd 100644 (file)
      ]
     },
     {
-     "* pack" : "composite_name",
+     "* pack" : "add",
      "xtype" : "Notebook",
-     "$ xns" : "Gtk"
+     "$ xns" : "Gtk",
+     "bool vexpand" : true
     }
    ]
   }
index 2413983..7a1a694 100644 (file)
@@ -52,7 +52,7 @@ public class NewBranch : Object
         this.el.get_content_area().add (  child_0.el  );
         var child_1 = new Xcls_Notebook22( _this );
         child_1.ref();
-        this.el.composite_name (  child_1.el  );
+        this.el.add (  child_1.el  );
 
         //listeners
         this.el.delete_event.connect( (self, event) => {
@@ -978,6 +978,7 @@ public class NewBranch : Object
             // my vars (dec)
 
             // set gobject values
+            this.el.vexpand = true;
         }
 
         // user defined functions