src/Builder4/WindowRightPalete.bjs
authorAlan Knowles <alan@roojs.com>
Wed, 20 May 2015 10:38:48 +0000 (18:38 +0800)
committerAlan Knowles <alan@roojs.com>
Wed, 20 May 2015 10:38:48 +0000 (18:38 +0800)
src/Builder4/WindowRightPalete.vala

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

index d09df23..08e8e80 100644 (file)
    "items" : [
     {
      "id" : "viewbox",
-     "xtype" : "VBox",
+     "xtype" : "Box",
      "* pack" : "add",
      "$ xns" : "Gtk",
+     "Gtk.Orientation orientation" : "Gtk.Orientation.VERTICAL",
      "items" : [
       {
        "* init" : "  this.el.set_policy(Gtk.PolicyType.AUTOMATIC, Gtk.PolicyType.AUTOMATIC);\n   this.el.set_size_request(-1,200);\n \n",
index 988ad6d..56ccbd2 100644 (file)
@@ -60,7 +60,7 @@ public class Xcls_RightPalete : Object
     }
     public class Xcls_viewbox : Object
     {
-        public Gtk.VBox el;
+        public Gtk.Box el;
         private Xcls_RightPalete  _this;
 
 
@@ -71,7 +71,7 @@ public class Xcls_RightPalete : Object
         {
             _this = _owner;
             _this.viewbox = this;
-            this.el = new Gtk.VBox( true, 0 );
+            this.el = new Gtk.Box( Gtk.Orientation.VERTICAL, 0 );
 
             // my vars (dec)