Revision: 3035 http://vexi.svn.sourceforge.net/vexi/?rev=3035&view=rev Author: clrg Date: 2008-08-05 23:52:59 +0000 (Tue, 05 Aug 2008)
Log Message: ----------- Fix missing layout read for "layer" (box.layout="layer";->read as "place") Modified Paths: -------------- trunk/core/org.vexi.core/src/org/vexi/core/Box.jpp trunk/core/org.vexi.core/src/org/vexi/core/Constants.java Modified: trunk/core/org.vexi.core/src/org/vexi/core/Box.jpp =================================================================== --- trunk/core/org.vexi.core/src/org/vexi/core/Box.jpp 2008-08-05 15:26:59 UTC (rev 3034) +++ trunk/core/org.vexi.core/src/org/vexi/core/Box.jpp 2008-08-05 23:52:59 UTC (rev 3035) @@ -1144,7 +1144,7 @@ case "x": return JSU.N(x); case "y": return JSU.N(y); case "orient": return test(ORIENT) ? SC_horizontal : SC_vertical; - case "layout": return test(PACK) ? SC_pack : SC_place; + case "layout": return test(PACK) ? SC_pack : (test(CLIP) ? SC_place : SC_layer); case "width": return (minwidth==maxwidth) ? JSU.N(minwidth) : JSU.N(width); case "height": return (minheight==maxheight) ? JSU.N(minheight) : JSU.N(height); case "minwidth": return JSU.N(minwidth); Modified: trunk/core/org.vexi.core/src/org/vexi/core/Constants.java =================================================================== --- trunk/core/org.vexi.core/src/org/vexi/core/Constants.java 2008-08-05 15:26:59 UTC (rev 3034) +++ trunk/core/org.vexi.core/src/org/vexi/core/Constants.java 2008-08-05 23:52:59 UTC (rev 3035) @@ -32,6 +32,7 @@ static final JS SC_html = JSU.S("html",true); static final JS SC_icon = JSU.S("icon",true); static final JS SC_indexof = JSU.S("indexof",true); + static final JS SC_layer = JSU.S("layer",true); static final JS SC_Leave = JSU.S("Leave",true); static final JS SC_maxheight = JSU.S("maxheight",true); static final JS SC_maxwidth = JSU.S("maxwidth",true); 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 Vexi-svn@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/vexi-svn