src/Builder4/WindowLeftTree.bjs wip_alan_T7351_moveing_the_add_node_to origin/wip_alan_T7351_moveing_the_add_node_to
authorAlan <alan@roojs.com>
Wed, 17 Aug 2022 10:00:39 +0000 (18:00 +0800)
committerAlan <alan@roojs.com>
Wed, 17 Aug 2022 10:00:39 +0000 (18:00 +0800)
src/Builder4/WindowLeftTree.vala

src/Builder4/WindowLeftTree.bjs
src/Builder4/WindowLeftTree.vala

index dbc4b2a..ac791d6 100644 (file)
          ],
          "* pack" : "append_column",
          "bool expand" : false,
-         "int max_width" : 16,
+         "int max_width" : 24,
          "items" : [
           {
            "$ xns" : "Gtk",
       "size_allocate" : [
        "(allocation) => {",
        "",
-       "\t",
-       "\tGLib.debug(\"Got allocation width of scrolled view %d\", allocation.width );",
+       "\t ",
+       "\t//GLib.debug(\"Got allocation width of scrolled view %d\", allocation.width );",
        "\t_this.maincol.el.set_max_width(allocation.width - 32);",
        "}",
        ""
index 622e9dd..0ce2648 100644 (file)
@@ -98,8 +98,8 @@ public class Xcls_WindowLeftTree : Object
             //listeners
             this.el.size_allocate.connect( (allocation) => {
             
-               
-               GLib.debug("Got allocation width of scrolled view %d", allocation.width );
+                
+               //GLib.debug("Got allocation width of scrolled view %d", allocation.width );
                _this.maincol.el.set_max_width(allocation.width - 32);
             });
         }
@@ -1622,7 +1622,7 @@ typeof(Gdk.Pixbuf) }  );
             // my vars (dec)
 
             // set gobject values
-            this.el.max_width = 16;
+            this.el.max_width = 24;
             this.el.title = "Add";
             this.el.sizing = Gtk.TreeViewColumnSizing.FIXED;
             this.el.expand = false;