Revision: 4553
http://sourceforge.net/p/vexi/code/4553
Author: clrg
Date: 2013-09-18 16:20:19 +0000 (Wed, 18 Sep 2013)
Log Message:
-----------
Support align on vexi.layout.grid
Modified Paths:
--------------
branches/vexi3/org.vexi-vexi.widgets/src_main/org/vexi/lib/layout/grid.t
Modified:
branches/vexi3/org.vexi-vexi.widgets/src_main/org/vexi/lib/layout/grid.t
===================================================================
--- branches/vexi3/org.vexi-vexi.widgets/src_main/org/vexi/lib/layout/grid.t
2013-09-18 16:16:39 UTC (rev 4552)
+++ branches/vexi3/org.vexi-vexi.widgets/src_main/org/vexi/lib/layout/grid.t
2013-09-18 16:20:19 UTC (rev 4553)
@@ -750,5 +750,18 @@
thisbox.cols ++= function() { return numcols; }
thisbox.rows ++= function() { return numrows; }
+ /** forward align property to children */
+ thisbox.align ++= function(v) {
+ for (var i,box in $content) {
+ $content.layout = v;
+ }
+ return;
+ }
+
+ /** prevent breaking of grid */
+ thisbox.layout ++= function(v) {
+ throw new vexi.js.Exception("Layout is fixed on grid");
+ }
+
</ui:box>
</vexi>
\ No newline at end of file
This was sent by the SourceForge.net collaborative development platform, the
world's largest Open Source development site.
------------------------------------------------------------------------------
LIMITED TIME SALE - Full Year of Microsoft Training For Just $49.99!
1,500+ hours of tutorials including VisualStudio 2012, Windows 8, SharePoint
2013, SQL 2012, MVC 4, more. BEST VALUE: New Multi-Library Power Pack includes
Mobile, Cloud, Java, and UX Design. Lowest price ever! Ends 9/20/13.
http://pubads.g.doubleclick.net/gampad/clk?id=58041151&iu=/4140/ostg.clktrk
_______________________________________________
Vexi-svn mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/vexi-svn