Revision: 3120
http://vexi.svn.sourceforge.net/vexi/?rev=3120&view=rev
Author: mkpg2
Date: 2008-10-04 00:27:45 +0000 (Sat, 04 Oct 2008)
Log Message:
-----------
Feature. Flow layout
Added Paths:
-----------
trunk/widgets/org.vexi.widgets/src/vexi/layout/flow.t
Added: trunk/widgets/org.vexi.widgets/src/vexi/layout/flow.t
===================================================================
--- trunk/widgets/org.vexi.widgets/src/vexi/layout/flow.t
(rev 0)
+++ trunk/widgets/org.vexi.widgets/src/vexi/layout/flow.t 2008-10-04
00:27:45 UTC (rev 3120)
@@ -0,0 +1,12 @@
+<vexi xmlns:ui="vexi://ui" xmlns:meta="vexi://meta" xmlns:lay="vexi.layout">
+ <ui:box redirect=":$content">
+ <lay:grid id="content" packed="false" align="topleft" shrink="true" />
+ // So content doesn't shrink
+ $content.height ++= function(v) { minheight = v; }
+
+
+ $content.ChildAdded ++= function(v) { v.colspan = v.width; v.width ++=
static.childFunc; }
+ width ++= function(v) { $content.cols = v; }
+ </ui:box>
+ static.childFunc = function(v) { trapee.colspan = v; }
+</vexi>
This was sent by the SourceForge.net collaborative development platform, the
world's largest Open Source development site.
-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
Vexi-svn mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/vexi-svn