Builder/DialogNewComponent.js
authorAlan Knowles <alan@akbkhome.com>
Thu, 27 May 2010 10:23:13 +0000 (18:23 +0800)
committerAlan Knowles <alan@akbkhome.com>
Thu, 27 May 2010 10:23:13 +0000 (18:23 +0800)
Builder/DialogNewComponent.js

index 350dfca..920dc37 100644 (file)
@@ -132,23 +132,6 @@ DialogNewComponent=new XObject({
                                 p.el.get_content_area().add(e.el)
                             },
             items : [
-                {
-                    xtype: Gtk.HBox,
-                    pack : "pack_start,false,true,0",
-                    items : [
-                        {
-                            xtype: Gtk.Label,
-                            pack : "pack_start,false,true,0",
-                            label : "Component Name",
-                            xpad : 10
-                        },
-                        {
-                            xtype: Gtk.Entry,
-                            pack : "pack_end,true,true,0",
-                            id : "xnsid"
-                        }
-                    ]
-                },
                 {
                     xtype: Gtk.Table,
                     n_columns : 2,
@@ -158,9 +141,23 @@ DialogNewComponent=new XObject({
                     items : [
                         {
                             xtype: Gtk.Label,
+                            label : "Component Name",
+                            pack : "add",
                             x_options : 0,
-                            label : "parent",
+                            xalign : 1,
+                            justify : Gtk.Justification.RIGHT
+                        },
+                        {
+                            xtype: Gtk.Entry,
+                            id : "xnsid",
                             pack : "add",
+                            visible : true
+                        },
+                        {
+                            xtype: Gtk.Label,
+                            label : "Title",
+                            pack : "add",
+                            x_options : 0,
                             xalign : 1,
                             justify : Gtk.Justification.RIGHT,
                             visible : true