src/Builder4/MainWindow.bjs
authorAlan Knowles <alan@roojs.com>
Fri, 15 May 2015 08:23:09 +0000 (16:23 +0800)
committerAlan Knowles <alan@roojs.com>
Fri, 15 May 2015 08:23:09 +0000 (16:23 +0800)
src/Builder4/MainWindow.vala

src/Builder4/MainWindow.bjs
src/Builder4/MainWindow.vala

index 50f9c04..ab088e7 100644 (file)
          "listeners" : {
           "clicked" : "  ( ) => {\n     \n    // show the compiler popup....\n\n}"
          },
-         "* pack" : false,
          "xtype" : "Button",
-         "width_request" : 50,
+         "* pack" : "pack_start,true,true,0",
          "$ xns" : "Gtk",
-         "$ tooltip_text" : "\"Delete Project\"",
-         "height_request" : 50,
          "items" : [
           {
            "xtype" : "Image",
index c8909ea..9cdbdb3 100644 (file)
@@ -2146,6 +2146,7 @@ public class Xcls_MainWindow : Object
             this.el.pack_start (  child_0.el , true,true,0 );
             var child_1 = new Xcls_Button68( _this );
             child_1.ref();
+            this.el.pack_start (  child_1.el , true,true,0 );
         }
 
         // user defined functions 
@@ -2210,9 +2211,6 @@ public class Xcls_MainWindow : Object
             // my vars (dec)
 
             // set gobject values
-            this.el.width_request = 50;
-            this.el.height_request = 50;
-            this.el.tooltip_text = "Delete Project";
             var child_0 = new Xcls_Image69( _this );
             child_0.ref();
             this.el.set_image (  child_0.el  );