Builder4/ClutterFiles.bjs
authorAlan Knowles <alan@roojs.com>
Wed, 25 Jun 2014 16:35:42 +0000 (00:35 +0800)
committerAlan Knowles <alan@roojs.com>
Wed, 25 Jun 2014 16:35:42 +0000 (00:35 +0800)
Builder4/ClutterFiles.js
Builder4/ClutterFiles.vala

Builder4/ClutterFiles.bjs
Builder4/ClutterFiles.js
Builder4/ClutterFiles.vala

index 8ab20dd..975f47e 100644 (file)
@@ -59,6 +59,7 @@
                                     "*args": "JsRender.JsRender file",
                                     ".ctor": "new Clutter.Texture.from_file(file.getIconFile())",
                                     "id": "+image",
+                                    "|margin_left": 5,
                                     "pack": "add_child",
                                     "xtype": "Texture",
                                     "|x_align": "Clutter.ActorAlign.START",
@@ -66,7 +67,7 @@
                                     "|xns": "Clutter",
                                     "|y_align": "Clutter.ActorAlign.START",
                                     "|y_expand": "false",
-                                    "margin_left": "",
+                                    "margin_right": "",
                                     "listeners": {}
                                 },
                                 {
index 3f5248b..6620f66 100644 (file)
@@ -106,12 +106,13 @@ ClutterFiles=new XObject({
                             xtype: Clutter.Texture,
                             '*args' : "JsRender.JsRender file",
                             id : "+image",
+                            margin_left : 5,
                             pack : "add_child",
                             x_align : Clutter.ActorAlign.START,
                             x_expand : true,
                             y_align : Clutter.ActorAlign.START,
                             y_expand : false,
-                            margin_left : ""
+                            margin_right : ""
                         },
                         {
                             xtype: Clutter.Text,
index e7ba8e9..68e0787 100644 (file)
@@ -258,7 +258,8 @@ public class Xcls_ClutterFiles : Object
             // my vars
 
             // set gobject values
-            this.el.margin_left = "";
+            this.el.margin_left = 5;
+            this.el.margin_right = "";
             this.el.x_align = Clutter.ActorAlign.START;
             this.el.x_expand = true;
             this.el.y_align = Clutter.ActorAlign.START;