src/Builder4/ClutterFiles.bjs
authorAlan Knowles <alan@roojs.com>
Fri, 22 May 2015 08:13:30 +0000 (16:13 +0800)
committerAlan Knowles <alan@roojs.com>
Fri, 22 May 2015 08:13:30 +0000 (16:13 +0800)
src/Builder4/ClutterFiles.vala

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

index ba53496..5a94a41 100644 (file)
@@ -18,7 +18,7 @@
    "@ void open" : "(JsRender.JsRender file)",
    "$ xns" : "Clutter",
    "bool reactive" : true,
-   "|  void set_size" : "(float w, float h) \n{\n    \n     // called by window resize... with is alreaddy -50 (for the buttons?)\n     \n\n     if (this.el == null) {\n        print(\"object not ready yet?\");\n        return;\n    }\n   _this.filelayout_manager.el.max_column_width = w - 75;\n   \n    this.el.set_size(\n           // this.el.get_stage().width-150,\n           w,\n           h  // this.el.get_stage().height\n    );\n    \n    // 100 right for buttons ..\n    this.el.set_position(0,0);\n   \n   \n   this.scoller.el.set_size(\n           // this.el.get_stage().width-150,\n           w-150,\n           h  // this.el.get_stage().height\n    );\n    \n    // 100 right for buttons ..\n    this.scoller.el.set_position(75,0);\n}\n",
+   "|  void set_size" : "(float w, float h) \n{\n    \n     // called by window resize... with is alreaddy -50 (for the buttons?)\n     \n\n     if (this.el == null) {\n        print(\"object not ready yet?\");\n        return;\n    }\n   _this.filelayout_manager.el.max_column_width = w - 75;\n   \n    this.el.set_size(\n           // this.el.get_stage().width-150,\n           w,\n           h  // this.el.get_stage().height\n    );\n    \n    // 100 right for buttons ..\n    this.el.set_position(0,0);\n   \n   \n   this.scoller.el.set_size(\n           // this.el.get_stage().width-150,\n           w-150,\n           h  // this.el.get_stage().height\n    );\n    \n    // 100 right for buttons ..\n    this.scoller.el.set_position(100,0);\n}\n",
    "items" : [
     {
      "id" : "project_title",
index e4d3166..8006445 100644 (file)
@@ -114,7 +114,7 @@ public class Xcls_ClutterFiles : Object
         );
         
         // 100 right for buttons ..
-        this.scoller.el.set_position(75,0);
+        this.scoller.el.set_position(100,0);
     }
     public class Xcls_project_title : Object
     {