src/Builder4/DialogNewComponent.bjs
authorAlan Knowles <alan@roojs.com>
Tue, 18 Oct 2022 09:56:22 +0000 (17:56 +0800)
committerAlan Knowles <alan@roojs.com>
Tue, 18 Oct 2022 09:56:22 +0000 (17:56 +0800)
src/Builder4/DialogNewComponent.vala

src/Builder4/DialogNewComponent.bjs
src/Builder4/DialogNewComponent.vala

index 98d62b2..02a2032 100644 (file)
@@ -59,7 +59,7 @@
          "$ justify" : "Gtk.Justification.RIGHT",
          "$ visible" : true,
          "$ xns" : "Gtk",
-         "* pack" : "attach_defaults,0,1,2,3",
+         "* pack" : "attach,0,2",
          "label" : "Region",
          "tooltip_text" : "center, north, south, east, west",
          "x_options" : 4,
@@ -69,7 +69,7 @@
         {
          "$ visible" : true,
          "$ xns" : "Gtk",
-         "* pack" : "attach_defaults,1,2,2,3",
+         "* pack" : "attach,1,2",
          "id" : "region",
          "xtype" : "Entry"
         },
@@ -77,7 +77,7 @@
          "$ justify" : "Gtk.Justification.RIGHT",
          "$ visible" : true,
          "$ xns" : "Gtk",
-         "* pack" : "attach_defaults,0,1,3,4",
+         "* pack" : "attach,0,3",
          "label" : "Parent Name",
          "x_options" : 4,
          "xalign" : 0.90000000000000002,
@@ -86,7 +86,7 @@
         {
          "$ visible" : true,
          "$ xns" : "Gtk",
-         "* pack" : "attach_defaults,1,2,3,4",
+         "* pack" : "attach,1,3",
          "id" : "parent",
          "xtype" : "Entry"
         },
index 902ba9b..23190d4 100644 (file)
@@ -298,16 +298,16 @@ public class Xcls_DialogNewComponent : Object
             this.el.attach (  child_3.el , 1,1 );
             var child_4 = new Xcls_Label8( _this );
             child_4.ref();
-            this.el.attach_defaults (  child_4.el , 0,1,2,3 );
+            this.el.attach (  child_4.el , 0,2 );
             var child_5 = new Xcls_region( _this );
             child_5.ref();
-            this.el.attach_defaults (  child_5.el , 1,2,2,3 );
+            this.el.attach (  child_5.el , 1,2 );
             var child_6 = new Xcls_Label10( _this );
             child_6.ref();
-            this.el.attach_defaults (  child_6.el , 0,1,3,4 );
+            this.el.attach (  child_6.el , 0,3 );
             var child_7 = new Xcls_parent( _this );
             child_7.ref();
-            this.el.attach_defaults (  child_7.el , 1,2,3,4 );
+            this.el.attach (  child_7.el , 1,3 );
             var child_8 = new Xcls_Label12( _this );
             child_8.ref();
             this.el.attach_defaults (  child_8.el , 0,1,4,5 );