src/Builder4/ClutterFiles.bjs
authorAlan Knowles <alan@roojs.com>
Thu, 21 May 2015 11:29:36 +0000 (19:29 +0800)
committerAlan Knowles <alan@roojs.com>
Thu, 21 May 2015 11:29:36 +0000 (19:29 +0800)
src/Builder4/ClutterFiles.vala

src/Builder4/ClutterFiles.bjs
src/Builder4/ClutterFiles.vala

index bba73e2..8537b2a 100644 (file)
@@ -21,7 +21,7 @@
    "@ void open" : "(JsRender.JsRender file)",
    "$ xns" : "Clutter",
    "bool reactive" : true,
-   "|  void set_size" : "(float w, float h) \n{\n     if (this.el == null) {\n        print(\"object not ready yet?\");\n        return;\n    }\n   _this.filelayout_manager.el.max_column_width = w - 100;\n   this.el.set_size(\n            this.el.get_stage().width-100,\n            this.el.get_stage().height\n    );\n    // 100 right for buttons ..\n    this.el.set_position(50,0);\n}\n",
+   "|  void set_size" : "(float w, float h) \n{\n     if (this.el == null) {\n        print(\"object not ready yet?\");\n        return;\n    }\n   _this.filelayout_manager.el.max_column_width = w - 150;\n   this.el.set_size(\n            this.el.get_stage().width-150,\n            this.el.get_stage().height\n    );\n    // 100 right for buttons ..\n    this.el.set_position(50,0);\n}\n",
    "items" : [
     {
      "id" : "project_title",
index 45dded7..e4ea6e4 100644 (file)
@@ -130,9 +130,9 @@ public class Xcls_ClutterFiles : Object
             print("object not ready yet?");
             return;
         }
-       _this.filelayout_manager.el.max_column_width = w - 100;
+       _this.filelayout_manager.el.max_column_width = w - 150;
        this.el.set_size(
-                this.el.get_stage().width-100,
+                this.el.get_stage().width-150,
                 this.el.get_stage().height
         );
         // 100 right for buttons ..