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

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

index e1f05ff..9cf5b86 100644 (file)
@@ -50,7 +50,7 @@
        "boolean y_expand" : true
       },
       {
-       "* ctor" : "new Clutter.Text.full(\"Sans 20px\", \"\",  Clutter.Color.from_string(\"#ccc\"))",
+       "* ctor" : "new Clutter.Text.full(\"Sans 10px\", \"\",  Clutter.Color.from_string(\"#ccc\"))",
        "id" : "project_title_path",
        "* pack" : "add_child",
        "xtype" : "Text",
@@ -78,7 +78,6 @@
       {
        "id" : "filelayout",
        "* init" : "\nthis.el.add_constraint(\n    new Clutter.BindConstraint(_this.el,Clutter.BindCoordinate.SIZE, 0.0f)\n);\n\n ",
-       "float margin_top" : "50.0f",
        "xtype" : "Actor",
        "* pack" : "add_child",
        "$ reactive" : true,
index 982cc88..5381a0f 100644 (file)
@@ -221,7 +221,7 @@ public class Xcls_ClutterFiles : Object
         {
             _this = _owner;
             _this.project_title_path = this;
-            this.el = new Clutter.Text.full("Sans 20px", "",  Clutter.Color.from_string("#ccc"));
+            this.el = new Clutter.Text.full("Sans 10px", "",  Clutter.Color.from_string("#ccc"));
 
             // my vars (dec)
 
@@ -327,7 +327,6 @@ public class Xcls_ClutterFiles : Object
 
             // set gobject values
             this.el.reactive = true;
-            this.el.margin_top = 50.0f;
             var child_0 = new Xcls_filelayout_manager( _this );
             child_0.ref();
             this.el.layout_manager = child_0.el;