From b116735da95cd6439429c00da9418ae70b49bdfb Mon Sep 17 00:00:00 2001 From: Alan Knowles Date: Mon, 24 Dec 2018 15:40:59 +0800 Subject: [PATCH] Uncommited changes synced --- Clones.bjs | 6 ++++-- Clones.vala | 4 +++- 2 files changed, 7 insertions(+), 3 deletions(-) diff --git a/Clones.bjs b/Clones.bjs index 52d7d926..30e9f78a 100644 --- a/Clones.bjs +++ b/Clones.bjs @@ -31,9 +31,11 @@ "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", diff --git a/Clones.vala b/Clones.vala index e40ff4bd..b152f768 100644 --- a/Clones.vala +++ b/Clones.vala @@ -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 -- 2.39.2