src/Builder4/WindowLeftTree.bjs
authorAlan Knowles <alan@roojs.com>
Wed, 25 May 2022 02:28:20 +0000 (10:28 +0800)
committerAlan Knowles <alan@roojs.com>
Wed, 25 May 2022 02:28:20 +0000 (10:28 +0800)
src/Builder4/WindowLeftTree.vala

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

index 2d6b145..fde59bf 100644 (file)
@@ -12,7 +12,6 @@
    "id" : "WindowLeftTree",
    "items" : [
     {
-     "$ tooltip_text" : "\"Add Child Element\"",
      "$ xns" : "Gtk",
      "* pack" : "add",
      "items" : [
@@ -33,7 +32,7 @@
        "}"
       ]
      },
-     "width_request" : 50,
+     "string label" : "Add Child Element",
      "xtype" : "Button"
     },
     {
index f39f7f3..2bd828f 100644 (file)
@@ -81,8 +81,7 @@ public class Xcls_WindowLeftTree : Object
             // my vars (dec)
 
             // set gobject values
-            this.el.width_request = 50;
-            this.el.tooltip_text = "Add Child Element";
+            this.el.label = "Add Child Element";
             var child_0 = new Xcls_Image3( _this );
             child_0.ref();
             this.el.set_image (  child_0.el  );