Sample/DialogNewComponent.js
authorAlan Knowles <alan@akbkhome.com>
Thu, 27 May 2010 08:54:02 +0000 (16:54 +0800)
committerAlan Knowles <alan@akbkhome.com>
Thu, 27 May 2010 08:54:02 +0000 (16:54 +0800)
Sample/DialogNewComponent.js

index c10609a..cf7761b 100644 (file)
@@ -146,27 +146,37 @@ DialogNewComponent=new XObject({
                             xtype: Gtk.Entry,
                             pack : "pack_end,true,true,0",
                             id : "xnsid"
+                        }
+                    ]
+                },
+                {
+                    xtype: Gtk.Table,
+                    n_columns : 3,
+                    n_rows : 2,
+                    pack : "add",
+                    listeners : {
+                        
+                    },
+                    items : [
+                        {
+                            xtype: Gtk.Label,
+                            bottom_attach : 1,
+                            label : "parent",
+                            left_attach : "0",
+                            pack : "add",
+                            right_attach : 1,
+                            top_attach : "0",
+                            visible : true
                         },
                         {
-                            xtype: Gtk.Table,
-                            n_columns : 3,
-                            n_rows : 2,
+                            xtype: Gtk.Label,
+                            bottom_attach : 1,
+                            label : "parent",
+                            left_attach : "0",
                             pack : "add",
-                            listeners : {
-                                
-                            },
-                            items : [
-                                {
-                                    xtype: Gtk.Label,
-                                    bottom_attach : 1,
-                                    label : "parent",
-                                    left_attach : "0",
-                                    pack : "add",
-                                    right_attach : 1,
-                                    top_attach : "0",
-                                    visible : true
-                                }
-                            ]
+                            right_attach : 1,
+                            top_attach : "0",
+                            visible : true
                         }
                     ]
                 }