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

index 252deac..46741d6 100644 (file)
@@ -160,28 +160,28 @@ 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,
+                            'right-attach' : 1,
                             top_attach : "0",
                             visible : true
                         },
                         {
                             xtype: Gtk.Label,
-                            bottom_attach : 2,
+                            'bottom-attach' : 2,
                             label : "title",
-                            left_attach : "0",
+                            'left-attach' : "0",
                             pack : "add",
-                            right_attach : 1,
-                            top_attach : "1",
+                            'right-attach' : 1,
+                            'top-attach' : "1",
                             visible : true
                         },
                         {
                             xtype: Gtk.Entry,
                             bottom_attach : 1,
-                            label : "parent",
+                            label : "test",
                             left_attach : "1",
                             pack : "add",
                             right_attach : 2,