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

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

index 652c37c..3379c57 100644 (file)
            "$ xns" : "Gtk",
            "* prop" : "child",
            "id" : "navigation",
+           "int width_request" : 200,
            "items" : [
             {
              "$ xns" : "Gtk",
            "| void show" : [
             "(Gee.ArrayList<Lsp.DocumentSymbol> syms) {",
             "\t_this.navigationwindow.el.show();",
+            "\t",
             "\t//_this.navliststore.el.remove_all();",
             "\t",
             "\t",
index 414fd7e..9dfe36c 100644 (file)
@@ -1963,6 +1963,7 @@ public class Editor : Object
                        this.selected_row = null;
 
                        // set gobject values
+                       this.el.width_request = 200;
                        this.el.name = "editor-navigation";
                        var child_2 = new Xcls_ColumnViewColumn31( _this );
                        child_2.ref();
@@ -2015,6 +2016,7 @@ public class Editor : Object
                 }
                public void show (Gee.ArrayList<Lsp.DocumentSymbol> syms) {
                        _this.navigationwindow.el.show();
+                       
                        //_this.navliststore.el.remove_all();