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

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

index 58fac6a..af04d25 100644 (file)
@@ -24,7 +24,7 @@
        "items" : [
         {
          "$ xns" : "Gtk",
-         "* pack" : "attach_defaults,0,1,0,1",
+         "* pack" : "attach,0,0",
          "Gtk.Justification justify" : "Gtk.Justification.RIGHT",
          "label" : "Component Name",
          "x_options" : 4,
index f5acc8f..6025127 100644 (file)
@@ -286,7 +286,7 @@ public class Xcls_DialogNewComponent : Object
             // set gobject values
             var child_0 = new Xcls_Label4( _this );
             child_0.ref();
-            this.el.attach_defaults (  child_0.el , 0,1,0,1 );
+            this.el.attach (  child_0.el , 0,0 );
             var child_1 = new Xcls_name( _this );
             child_1.ref();
             this.el.attach_defaults (  child_1.el , 1,2,0,1 );