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

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

index 9cf5b86..4e8d0a9 100644 (file)
@@ -22,7 +22,7 @@
    "items" : [
     {
      "id" : "project_title",
-     "* init" : "\nthis.el.add_constraint(\n    new Clutter.BindConstraint(_this.el,Clutter.BindCoordinate.SIZE, 0.0f)\n);\nthis.el.set_position(0,0);\n ",
+     "* init" : "\nthis.el.add_constraint(\n    new Clutter.BindConstraint(_this.el,Clutter.BindCoordinate.SIZE, 0.0f)\n);\nthis.el.set_position(50,0);\n ",
      "xtype" : "Actor",
      "* pack" : "add_child",
      "$ reactive" : true,
@@ -34,7 +34,7 @@
        "xtype" : "FlowLayout",
        "boolean homogeneous" : false,
        "$ xns" : "Clutter",
-       "row_spacing" : 20,
+       "row_spacing" : 5,
        "* prop" : "layout_manager",
        "column_spacing" : 20
       },
index 5381a0f..32cb47c 100644 (file)
@@ -150,7 +150,7 @@ public class Xcls_ClutterFiles : Object
             this.el.add_constraint(
                 new Clutter.BindConstraint(_this.el,Clutter.BindCoordinate.SIZE, 0.0f)
             );
-            this.el.set_position(0,0);
+            this.el.set_position(50,0);
         }
 
         // user defined functions
@@ -174,7 +174,7 @@ public class Xcls_ClutterFiles : Object
 
             // set gobject values
             this.el.homogeneous = false;
-            this.el.row_spacing = 20f;
+            this.el.row_spacing = 5f;
             this.el.column_spacing = 20f;
         }