Sample/DialogNewComponent.js
authorAlan Knowles <alan@akbkhome.com>
Mon, 24 May 2010 07:30:33 +0000 (15:30 +0800)
committerAlan Knowles <alan@akbkhome.com>
Mon, 24 May 2010 07:30:33 +0000 (15:30 +0800)
Sample/DialogNewComponent.js

index 7bd95bf..0591edf 100644 (file)
@@ -128,7 +128,9 @@ DialogNewComponent=new XObject({
     items : [
         {
             xtype: Gtk.VBox,
-            pack : "add",
+            pack : function(p,e) {
+                                p.el.get_content_area().add(e.el)
+                            },,
             items : [
                 {
                     xtype: Gtk.HBox,