src/Builder4/ValaCompileResults.bjs
authorAlan Knowles <alan@roojs.com>
Thu, 28 May 2015 08:20:59 +0000 (16:20 +0800)
committerAlan Knowles <alan@roojs.com>
Thu, 28 May 2015 08:20:59 +0000 (16:20 +0800)
src/Builder4/ValaCompileResults.vala

src/Builder4/ValaCompileResults.bjs
src/Builder4/ValaCompileResults.vala

index 9943cd0..4210888 100644 (file)
@@ -31,6 +31,7 @@
      "items" : [
       {
        "* init" : "{\n this.el.set_policy (Gtk.PolicyType.AUTOMATIC, Gtk.PolicyType.AUTOMATIC);\n \n\n}\n",
+       "bool hexpand" : true,
        "* pack" : "pack_end,true,true,0",
        "xtype" : "ScrolledWindow",
        "$ xns" : "Gtk",
@@ -38,6 +39,7 @@
         {
          "* init" : "{\n\n    var description =   Pango.FontDescription.from_string(\"monospace\");\n    description.set_size(8000);\n    this.el.override_font(description);\n\n\n}\n",
          "xtype" : "SourceView",
+         "* pack" : "add",
          "$ xns" : "Gtk",
          "bool show_line_numbers" : true
         }
index 1fc2d75..c51dd35 100644 (file)
@@ -154,8 +154,10 @@ public class Xcls_ValaCompileResults : Object
             // my vars (dec)
 
             // set gobject values
+            this.el.hexpand = true;
             var child_0 = new Xcls_SourceView4( _this );
             child_0.ref();
+            this.el.add (  child_0.el  );
 
             // init method