src/Builder4/WindowRightPalete.bjs
authorAlan <alan@roojs.com>
Thu, 3 Mar 2022 07:04:06 +0000 (15:04 +0800)
committerAlan <alan@roojs.com>
Thu, 3 Mar 2022 07:04:06 +0000 (15:04 +0800)
src/Builder4/WindowRightPalete.vala

src/Builder4/WindowRightPalete.bjs
src/Builder4/WindowRightPalete.vala

index 6d0803d..79fd90b 100644 (file)
@@ -21,8 +21,8 @@
    "items" : [
     {
      "id" : "viewbox",
-     "* pack" : "pack_start,true,true,0",
      "xtype" : "Box",
+     "* pack" : "pack_start,true,true,0",
      "$ xns" : "Gtk",
      "Gtk.Orientation orientation" : "Gtk.Orientation.VERTICAL",
      "items" : [
           },
           {
            "utf8 title" : "Drag to add Object",
-           "* init" : " this.el.add_attribute(_this.txtrender.el , \"markup\", 0 );\n \n",
+           "* init" : " this.el.add_attribute(_this.txtrender.el , \"markup\",  1 );\n \n",
            "* pack" : "append_column",
            "xtype" : "TreeViewColumn",
            "$ xns" : "Gtk",
            "items" : [
             {
              "id" : "txtrender",
-             "xtype" : "CellRendererText",
              "* pack" : "pack_start,true",
+             "xtype" : "CellRendererText",
              "$ xns" : "Gtk"
             }
            ]
index d1ae289..82204ab 100644 (file)
@@ -288,7 +288,7 @@ public class Xcls_RightPalete : Object
 
             // init method
 
-            this.el.add_attribute(_this.txtrender.el , "markup", 0 );
+            this.el.add_attribute(_this.txtrender.el , "markup",  1 );
         }
 
         // user defined functions