src/Builder4/Editor.bjs
authorAlan Knowles <alan@roojs.com>
Tue, 26 Mar 2024 15:38:28 +0000 (23:38 +0800)
committerAlan Knowles <alan@roojs.com>
Tue, 26 Mar 2024 15:38:28 +0000 (23:38 +0800)
src/Builder4/Editor.vala

src/Builder4/Editor.bjs
src/Builder4/Editor.vala

index aaa851e..643a7b8 100644 (file)
@@ -25,8 +25,8 @@
     {
      "$ xns" : "Gtk",
      "Gtk.Orientation orientation" : "Gtk.Orientation.HORIZONTAL",
+     "bool resize_end_child" : false,
      "bool shrink_end_child" : false,
-     "int width_request" : 200,
      "items" : [
       {
        "$ xns" : "Gtk",
index f7aa06e..4811a36 100644 (file)
@@ -419,8 +419,8 @@ public class Editor : Object
                        // my vars (dec)
 
                        // set gobject values
-                       this.el.width_request = 200;
                        this.el.shrink_end_child = false;
+                       this.el.resize_end_child = false;
                        var child_1 = new Xcls_Box2( _this );
                        child_1.ref();
                        this.el.start_child = child_1.el;