From: Alan Knowles Date: Wed, 19 Dec 2018 05:26:40 +0000 (+0800) Subject: RepoStatusPopover.bjs X-Git-Url: http://git.roojs.org/?p=gitlive;a=commitdiff_plain;h=0022e58196144b9da447b8c4b1297fce53ca986c RepoStatusPopover.bjs RepoStatusPopover.vala --- diff --git a/RepoStatusPopover.bjs b/RepoStatusPopover.bjs index ce381042..ee42f335 100644 --- a/RepoStatusPopover.bjs +++ b/RepoStatusPopover.bjs @@ -88,9 +88,10 @@ ] }, { - "* pack" : "pack_start,true,true,0", + "* pack" : "add", "xtype" : "Notebook", "$ xns" : "Gtk", + "bool vexpand" : true, "items" : [ { "id" : "label_status", diff --git a/RepoStatusPopover.vala b/RepoStatusPopover.vala index cead0d41..beb371f5 100644 --- a/RepoStatusPopover.vala +++ b/RepoStatusPopover.vala @@ -91,7 +91,7 @@ public class RepoStatusPopover : Object this.el.pack_end ( child_0.el , false,false,0 ); var child_1 = new Xcls_Notebook9( _this ); child_1.ref(); - this.el.pack_start ( child_1.el , true,true,0 ); + this.el.add ( child_1.el ); var child_2 = new Xcls_Box18( _this ); child_2.ref(); this.el.pack_end ( child_2.el , false,false,0 ); @@ -338,6 +338,7 @@ public class RepoStatusPopover : Object // my vars (dec) // set gobject values + this.el.vexpand = true; var child_0 = new Xcls_label_status( _this ); child_0.ref(); var child_1 = new Xcls_label_diff( _this );