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

src/Builder4/ValaCompileErrors.bjs
src/Builder4/ValaCompileErrors.vala

index 5510d08..edebc93 100644 (file)
    "items" : [
     {
      "id" : "compile_view",
-     "xtype" : "VBox",
      "* pack" : "add",
+     "xtype" : "Box",
      "gboolean homogeneous" : false,
      "$ xns" : "Gtk",
+     "Gtk.Orientation orientation" : "Gtk.Orientation.VERTICAL",
      "items" : [
       {
        "xtype" : "HBox",
@@ -43,8 +44,8 @@
       },
       {
        "* init" : "{\n this.el.set_policy (Gtk.PolicyType.AUTOMATIC, Gtk.PolicyType.AUTOMATIC);\n \n\n}\n",
-       "xtype" : "ScrolledWindow",
        "* pack" : "add",
+       "xtype" : "ScrolledWindow",
        "$ xns" : "Gtk",
        "items" : [
         {
@@ -75,8 +76,8 @@
            "items" : [
             {
              "id" : "renderer",
-             "* pack" : "pack_start,true",
              "xtype" : "CellRendererText",
+             "* pack" : "pack_start,true",
              "$ xns" : "Gtk"
             }
            ]
index 7913b12..88faf33 100644 (file)
@@ -116,7 +116,7 @@ public class Xcls_ValaCompileErrors : Object
     }
     public class Xcls_compile_view : Object
     {
-        public Gtk.VBox el;
+        public Gtk.Box el;
         private Xcls_ValaCompileErrors  _this;
 
 
@@ -127,11 +127,12 @@ public class Xcls_ValaCompileErrors : Object
         {
             _this = _owner;
             _this.compile_view = this;
-            this.el = new Gtk.VBox( false, 0 );
+            this.el = new Gtk.Box( Gtk.Orientation.VERTICAL, 0 );
 
             // my vars (dec)
 
             // set gobject values
+            this.el.homogeneous = false;
             var child_0 = new Xcls_HBox3( _this );
             child_0.ref();
             this.el.pack_start (  child_0.el , false,false,0 );