src/Builder4/WindowRightPalete.bjs
authorAlan Knowles <alan@roojs.com>
Thu, 21 May 2015 06:46:57 +0000 (14:46 +0800)
committerAlan Knowles <alan@roojs.com>
Thu, 21 May 2015 06:46:57 +0000 (14:46 +0800)
src/Builder4/WindowRightPalete.vala

src/Builder4/WindowRightPalete.bjs
src/Builder4/WindowRightPalete.vala

index 79809dc..9687b50 100644 (file)
@@ -21,8 +21,8 @@
    "items" : [
     {
      "id" : "viewbox",
+     "* pack" : "pack_start,true,true,0",
      "xtype" : "Box",
-     "* pack" : "add",
      "$ xns" : "Gtk",
      "Gtk.Orientation orientation" : "Gtk.Orientation.VERTICAL",
      "items" : [
@@ -66,8 +66,8 @@
            "items" : [
             {
              "id" : "txtrender",
-             "* pack" : "pack_start,true",
              "xtype" : "CellRendererText",
+             "* pack" : "pack_start,true",
              "$ xns" : "Gtk"
             }
            ]
index 94ccf3a..87a50ff 100644 (file)
@@ -32,7 +32,7 @@ public class Xcls_RightPalete : Object
         // set gobject values
         var child_0 = new Xcls_viewbox( _this );
         child_0.ref();
-        this.el.add (  child_0.el  );
+        this.el.pack_start (  child_0.el , true,true,0 );
     }
 
     // user defined functions