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

index f3bdd72..009b56b 100644 (file)
@@ -160,12 +160,12 @@ DialogNewComponent=new XObject({
                     items : [
                         {
                             xtype: Gtk.Label,
-                            'bottom-attach' : 1,
+                            '.bottom-attach' : 1,
                             label : "parent",
-                            'left-attach' : 0,
+                            '.left-attach' : 0,
                             pack : "add",
-                            'right-attach' : 1,
-                            top_attach : 0,
+                            '.right-attach' : 1,
+                            '.top_attach' : 0,
                             visible : true
                         },
                         {
@@ -180,12 +180,12 @@ DialogNewComponent=new XObject({
                         },
                         {
                             xtype: Gtk.Entry,
-                            bottom_attach_parent : 1,
+                            '.bottom-attach' : 1,
                             label : "test",
-                            left_attach_parent : 1,
+                            '.left-attach' : 1,
                             pack : "add",
-                            right_attach_parent : 2,
-                            'top-attach_parent' : 0,
+                            '.right-attach' : 2,
+                            '.top-attach' : 0,
                             visible : true
                         }
                     ]