Uncommited changes synced
authorAlan Knowles <alan@roojs.com>
Mon, 24 Dec 2018 07:40:59 +0000 (15:40 +0800)
committerAlan Knowles <alan@roojs.com>
Mon, 24 Dec 2018 07:40:59 +0000 (15:40 +0800)
Clones.bjs
Clones.vala

index 52d7d92..30e9f78 100644 (file)
      "items" : [
       {
        "id" : "spinner",
-       "* pack" : "pack_start,false,false,0",
+       "bool hexpand" : true,
+       "* pack" : "add",
        "xtype" : "Spinner",
-       "$ xns" : "Gtk"
+       "$ xns" : "Gtk",
+       "bool vexpand" : true
       },
       {
        "id" : "toolbar",
index e40ff4b..b152f76 100644 (file)
@@ -149,7 +149,7 @@ public class Clones : Object
             // set gobject values
             var child_0 = new Xcls_spinner( _this );
             child_0.ref();
-            this.el.pack_start (  child_0.el , false,false,0 );
+            this.el.add (  child_0.el  );
             var child_1 = new Xcls_toolbar( _this );
             child_1.ref();
             this.el.pack_start (  child_1.el , false,false,0 );
@@ -178,6 +178,8 @@ public class Clones : Object
             // my vars (dec)
 
             // set gobject values
+            this.el.hexpand = true;
+            this.el.vexpand = true;
         }
 
         // user defined functions