Sample/DialogNewComponent.js
authorAlan Knowles <alan@akbkhome.com>
Thu, 27 May 2010 09:51:59 +0000 (17:51 +0800)
committerAlan Knowles <alan@akbkhome.com>
Thu, 27 May 2010 09:51:59 +0000 (17:51 +0800)
Sample/DialogNewComponent.js

index b8c571b..6521095 100644 (file)
@@ -153,19 +153,15 @@ DialogNewComponent=new XObject({
                     xtype: Gtk.Table,
                     n_columns : 2,
                     n_rows : 3,
-                    pack : "add",
-                    listeners : {
-                        
-                    },
+                    pack : "pack_start,false,false,0",
+                    homogeneous : false,
                     items : [
                         {
                             xtype: Gtk.Label,
                             label : "parent",
                             pack : "add",
-                            visible : true,
-                            listeners : {
-                                
-                            }
+                            justify : Gtk.Justification.RIGHT,
+                            visible : true
                         },
                         {
                             xtype: Gtk.Entry,
@@ -179,6 +175,12 @@ DialogNewComponent=new XObject({
                             xtype: Gtk.Label,
                             label : "title",
                             pack : "add",
+                            justify : Gtk.Justification.RIGHT,
+                            visible : true
+                        },
+                        {
+                            xtype: Gtk.Entry,
+                            pack : "add",
                             visible : true,
                             listeners : {