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

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

index 5d311e3..e125796 100644 (file)
        "* prop" : "layout_manager",
        "column_spacing" : 20
       },
+      {
+       "xtype" : "FixedLayout",
+       "* pack" : "set_layout_manager",
+       "$ xns" : "Clutter",
+       "* prop" : "layout_manager"
+      },
       {
        "* ctor" : "new Clutter.Text.full(\"Sans 20px\", \"\",  Clutter.Color.from_string(\"#eee\"))",
        "id" : "project_title_name",
        "* pack" : "add_child",
        "xtype" : "Text",
-       "Clutter.ActorAlign y_align" : "Clutter.ActorAlign.START",
+       "Clutter.ActorAlign y_align" : "Clutter.ActorAlign.END",
        "boolean x_expand" : false,
        "$ xns" : "Clutter",
        "Clutter.ActorAlign x_align" : "Clutter.ActorAlign.START",
@@ -54,7 +60,7 @@
        "id" : "project_title_path",
        "* pack" : "add_child",
        "xtype" : "Text",
-       "Clutter.ActorAlign y_align" : "Clutter.ActorAlign.START",
+       "Clutter.ActorAlign y_align" : "Clutter.ActorAlign.END",
        "boolean x_expand" : false,
        "$ xns" : "Clutter",
        "Clutter.ActorAlign x_align" : "Clutter.ActorAlign.START",
index b9bda50..b1bcf23 100644 (file)
@@ -138,12 +138,15 @@ public class Xcls_ClutterFiles : Object
             var child_0 = new Xcls_project_title_manager( _this );
             child_0.ref();
             this.el.layout_manager = child_0.el;
-            var child_1 = new Xcls_project_title_name( _this );
+            var child_1 = new Xcls_FixedLayout4( _this );
             child_1.ref();
-            this.el.add_child (  child_1.el  );
-            var child_2 = new Xcls_project_title_path( _this );
+            this.el.layout_manager = child_1.el;
+            var child_2 = new Xcls_project_title_name( _this );
             child_2.ref();
             this.el.add_child (  child_2.el  );
+            var child_3 = new Xcls_project_title_path( _this );
+            child_3.ref();
+            this.el.add_child (  child_3.el  );
 
             // init method
 
@@ -181,6 +184,28 @@ public class Xcls_ClutterFiles : Object
         // user defined functions
     }
 
+    public class Xcls_FixedLayout4 : Object
+    {
+        public Clutter.FixedLayout el;
+        private Xcls_ClutterFiles  _this;
+
+
+            // my vars (def)
+
+        // ctor
+        public Xcls_FixedLayout4(Xcls_ClutterFiles _owner )
+        {
+            _this = _owner;
+            this.el = new Clutter.FixedLayout();
+
+            // my vars (dec)
+
+            // set gobject values
+        }
+
+        // user defined functions
+    }
+
     public class Xcls_project_title_name : Object
     {
         public Clutter.Text el;
@@ -201,7 +226,7 @@ public class Xcls_ClutterFiles : Object
             // set gobject values
             this.el.x_align = Clutter.ActorAlign.START;
             this.el.x_expand = false;
-            this.el.y_align = Clutter.ActorAlign.START;
+            this.el.y_align = Clutter.ActorAlign.END;
             this.el.y_expand = false;
         }
 
@@ -228,7 +253,7 @@ public class Xcls_ClutterFiles : Object
             // set gobject values
             this.el.x_align = Clutter.ActorAlign.START;
             this.el.x_expand = false;
-            this.el.y_align = Clutter.ActorAlign.START;
+            this.el.y_align = Clutter.ActorAlign.END;
             this.el.y_expand = false;
         }
 
@@ -388,7 +413,7 @@ public class Xcls_ClutterFiles : Object
 
             // set gobject values
             this.el.reactive = true;
-            var child_0 = new Xcls_BoxLayout10( _this );
+            var child_0 = new Xcls_BoxLayout11( _this );
             child_0.ref();
             this.el.layout_manager = child_0.el;
             var child_1 = new Xcls_image( _this ,file);
@@ -426,7 +451,7 @@ public class Xcls_ClutterFiles : Object
 
         // user defined functions
     }
-    public class Xcls_BoxLayout10 : Object
+    public class Xcls_BoxLayout11 : Object
     {
         public Clutter.BoxLayout el;
         private Xcls_ClutterFiles  _this;
@@ -435,7 +460,7 @@ public class Xcls_ClutterFiles : Object
             // my vars (def)
 
         // ctor
-        public Xcls_BoxLayout10(Xcls_ClutterFiles _owner )
+        public Xcls_BoxLayout11(Xcls_ClutterFiles _owner )
         {
             _this = _owner;
             this.el = new Clutter.BoxLayout();