Sample/EditProject.js
authorAlan Knowles <alan@akbkhome.com>
Mon, 24 May 2010 10:29:29 +0000 (18:29 +0800)
committerAlan Knowles <alan@akbkhome.com>
Mon, 24 May 2010 10:29:29 +0000 (18:29 +0800)
Sample/EditProject.js

index 0297a03..6311901 100644 (file)
@@ -68,29 +68,6 @@ EditProject=new XObject({
                                 p.el.get_content_area().add(e.el)
                             },
             items : [
-                {
-                    xtype: Gtk.HBox,
-                    pack : "pack_start,false,true,3",
-                    items : [
-                        {
-                            xtype: Gtk.Label,
-                            pack : "pack_start,false,true,3",
-                            label : "Project Name :"
-                        },
-                        {
-                            xtype: Gtk.Entry,
-                            pack : "pack_end,true,true,0",
-                            id : "name",
-                            getValue : function() {
-                                return this.el.get_text();
-                            },
-                            setValue : function(v) 
-                                                            {
-                                                                this.el.set_text(v);
-                                                            }
-                        }
-                    ]
-                },
                 {
                     xtype: Gtk.HBox,
                     pack : "pack_start,false,true,3",
@@ -102,7 +79,7 @@ EditProject=new XObject({
                         },
                         {
                             xtype: Gtk.ComboBox,
-                            pack : "pack_end,true,true,0",
+                            pack : "pack_end,true,true,3",
                             id : "xtype",
                             setValue : function(v)
                                             {