src/Builder4/ValaCompileErrors.bjs
authorAlan Knowles <alan@roojs.com>
Thu, 21 May 2015 05:37:56 +0000 (13:37 +0800)
committerAlan Knowles <alan@roojs.com>
Thu, 21 May 2015 05:37:56 +0000 (13:37 +0800)
src/Builder4/ValaCompileErrors.vala

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

index 5e4aeb6..96e726a 100644 (file)
@@ -23,8 +23,8 @@
    "items" : [
     {
      "id" : "compile_view",
-     "* pack" : "add",
      "xtype" : "Box",
+     "* pack" : "add",
      "gboolean homogeneous" : false,
      "$ xns" : "Gtk",
      "Gtk.Orientation orientation" : "Gtk.Orientation.VERTICAL",
@@ -45,8 +45,8 @@
       },
       {
        "* init" : "{\n this.el.set_policy (Gtk.PolicyType.AUTOMATIC, Gtk.PolicyType.AUTOMATIC);\n \n\n}\n",
-       "* pack" : "add",
        "xtype" : "ScrolledWindow",
+       "* pack" : "pack_end,true,true,0",
        "$ xns" : "Gtk",
        "items" : [
         {
@@ -77,8 +77,8 @@
            "items" : [
             {
              "id" : "renderer",
-             "xtype" : "CellRendererText",
              "* pack" : "pack_start,true",
+             "xtype" : "CellRendererText",
              "$ xns" : "Gtk"
             }
            ]
index 700478c..371db6e 100644 (file)
@@ -138,7 +138,7 @@ public class Xcls_ValaCompileErrors : Object
             this.el.pack_start (  child_0.el , false,false,0 );
             var child_1 = new Xcls_ScrolledWindow5( _this );
             child_1.ref();
-            this.el.add (  child_1.el  );
+            this.el.pack_end (  child_1.el , true,true,0 );
         }
 
         // user defined functions