Builder4/DialogNewComponent.bjs
authorAlan Knowles <alan@roojs.com>
Mon, 18 Aug 2014 10:12:59 +0000 (18:12 +0800)
committerAlan Knowles <alan@roojs.com>
Mon, 18 Aug 2014 10:12:59 +0000 (18:12 +0800)
Builder4/DialogNewComponent.js
Builder4/DialogNewComponent.vala

Builder4/DialogNewComponent.bjs
Builder4/DialogNewComponent.js
Builder4/DialogNewComponent.vala

index 3b3eabd..dbc12d8 100644 (file)
                                 },
                                 {
                                     "label": "Parent Name",
-                                    "pack": "add",
+                                    "pack": "attach_defaults,0,1,3,4",
                                     "x_options": 4,
                                     "xalign": 0.9,
                                     "xtype": "Label",
                                     "|justify": "Gtk.Justification.RIGHT",
-                                    "|visible": true,
+                                    "|visible": "true",
                                     "|xns": "Gtk"
                                 },
                                 {
                                     "id": "parent",
-                                    "pack": "add",
+                                    "pack": "attach_defaults,1,2,3,4",
                                     "xtype": "Entry",
-                                    "|visible": true,
+                                    "|visible": "true",
                                     "|xns": "Gtk"
                                 },
                                 {
index fe8ebd9..e199802 100644 (file)
@@ -188,7 +188,7 @@ DialogNewComponent=new XObject({
                         {
                             xtype: Gtk.Label,
                             label : "Parent Name",
-                            pack : "add",
+                            pack : "attach_defaults,0,1,3,4",
                             x_options : 4,
                             xalign : 0.9,
                             justify : Gtk.Justification.RIGHT,
@@ -197,7 +197,7 @@ DialogNewComponent=new XObject({
                         {
                             xtype: Gtk.Entry,
                             id : "parent",
-                            pack : "add",
+                            pack : "attach_defaults,1,2,3,4",
                             visible : true
                         },
                         {
index 2b7c42c..d1a095e 100644 (file)
@@ -245,10 +245,10 @@ public class Xcls_DialogNewComponent : Object
             this.el.attach_defaults (  child_5.el , 1,2,2,3 );
             var child_6 = new Xcls_Label10( _this );
             child_6.ref();
-            this.el.add (  child_6.el  );
+            this.el.attach_defaults (  child_6.el , 0,1,3,4 );
             var child_7 = new Xcls_parent( _this );
             child_7.ref();
-            this.el.add (  child_7.el  );
+            this.el.attach_defaults (  child_7.el , 1,2,3,4 );
             var child_8 = new Xcls_Label12( _this );
             child_8.ref();
             this.el.add (  child_8.el  );