src/Builder4/EditProject.bjs
authorAlan Knowles <alan@roojs.com>
Thu, 21 May 2015 06:05:45 +0000 (14:05 +0800)
committerAlan Knowles <alan@roojs.com>
Thu, 21 May 2015 06:05:45 +0000 (14:05 +0800)
src/Builder4/EditProject.vala

src/Builder4/EditProject.bjs
src/Builder4/EditProject.vala

index 00f8be5..e59cfc5 100644 (file)
@@ -23,6 +23,7 @@
    "name" : "EditProject",
    "items" : [
     {
+     "bool expand" : true,
      "$ pack" : " get_content_area().add \n \n",
      "xtype" : "Box",
      "$ xns" : "Gtk",
@@ -38,8 +39,8 @@
        "items" : [
         {
          "label" : "Project type :",
-         "xtype" : "Label",
          "* pack" : "pack_start,false,true,3",
+         "xtype" : "Label",
          "$ xns" : "Gtk"
         },
         {
          "items" : [
           {
            "id" : "cellrender",
-           "* pack" : "pack_start,true",
            "xtype" : "CellRendererText",
+           "* pack" : "pack_start,true",
            "$ xns" : "Gtk"
           },
           {
            "id" : "model",
-           "xtype" : "ListStore",
            "* pack" : "set_model",
+           "xtype" : "ListStore",
            "$ columns" : "typeof(string),typeof(string)",
            "n_columns" : 2,
            "$ xns" : "Gtk",
     },
     {
      "label" : "OK",
-     "* pack" : "add_action_widget,1",
      "xtype" : "Button",
+     "* pack" : "add_action_widget,1",
      "$ xns" : "Gtk"
     },
     {
      "label" : "Cancel",
-     "xtype" : "Button",
      "* pack" : "add_action_widget,0",
+     "xtype" : "Button",
      "$ xns" : "Gtk"
     }
    ]
index 029c26c..d482e3a 100644 (file)
@@ -127,6 +127,7 @@ public class EditProject : Object
 
             // set gobject values
             this.el.homogeneous = false;
+            this.el.expand = true;
             var child_0 = new Xcls_Box3( _this );
             child_0.ref();
             this.el.pack_start (  child_0.el , false,true,3 );