"@ 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.scroller.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.scroller.el.set_position(75,50);\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 - 200;\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.scroller.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.scroller.el.set_position(75,50);\n}\n",
"# Gee.ArrayList<Object> fileitems" : "new Gee.ArrayList<Object>()",
"items" : [
{
"xtype" : "Text",
"$ y_align" : "Clutter.ActorAlign.START",
"$ xns" : "Clutter",
- "$ y_expand" : true,
+ "bool y_expand" : false,
"$ x_align" : "Clutter.ActorAlign.START"
},
{
print("object not ready yet?");
return;
}
- _this.filelayout_manager.el.max_column_width = w - 75;
+ _this.filelayout_manager.el.max_column_width = w - 200;
this.el.set_size(
// this.el.get_stage().width-150,
this.el.x_align = Clutter.ActorAlign.START;
this.el.x_expand = true;
this.el.y_align = Clutter.ActorAlign.START;
- this.el.y_expand = true;
+ this.el.y_expand = false;
}
// user defined functions