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

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

index edd420b..7cb5734 100644 (file)
@@ -26,6 +26,7 @@
      "$ xns" : "Gtk",
      "Gtk.Orientation orientation" : "Gtk.Orientation.HORIZONTAL",
      "bool shrink_end_child" : false,
+     "int width_request" : 200,
      "items" : [
       {
        "$ xns" : "Gtk",
index bb30644..8ba52bb 100644 (file)
@@ -418,6 +418,7 @@ public class Editor : Object
                        // my vars (dec)
 
                        // set gobject values
+                       this.el.width_request = 200;
                        this.el.shrink_end_child = false;
                        var child_1 = new Xcls_Box2( _this );
                        child_1.ref();