Revision: 4322 http://vexi.svn.sourceforge.net/vexi/?rev=4322&view=rev Author: clrg Date: 2012-01-12 07:57:01 +0000 (Thu, 12 Jan 2012) Log Message: ----------- Change default option behaviour to expand as much as possible.
Modified Paths: -------------- trunk/org.vexi-vexi.widgets/src_main/org/vexi/theme/classic/option.t Modified: trunk/org.vexi-vexi.widgets/src_main/org/vexi/theme/classic/option.t =================================================================== --- trunk/org.vexi-vexi.widgets/src_main/org/vexi/theme/classic/option.t 2012-01-11 12:30:52 UTC (rev 4321) +++ trunk/org.vexi-vexi.widgets/src_main/org/vexi/theme/classic/option.t 2012-01-12 07:57:01 UTC (rev 4322) @@ -6,7 +6,7 @@ <author>Charles Goodwin</author> </meta:doc> - <lib:widget.option redirect=":$content" margin="3" maxlistheight="160" vshrink="true"> + <lib:widget.option redirect=":$content" margin="3" vshrink="true"> <bevel id="bevel" form="down"> <lib.focusborder id="focus" align="left" fill="white" layout="place"> <lib:layout.pad id="pad" padding="3"> @@ -99,7 +99,8 @@ static.contentheightWrite = function(v) { cascade = v; var p = trapee.p_option; - p.th_scroll.minheight = v>p.maxlistheight ? p.maxlistheight : v; + var h = p.maxlistheight; + p.th_scroll.minheight = h!=null and v>h ? h : v; } /** enabled state effects */ This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. ------------------------------------------------------------------------------ RSA(R) Conference 2012 Mar 27 - Feb 2 Save $400 by Jan. 27 Register now! http://p.sf.net/sfu/rsa-sfdev2dev2 _______________________________________________ Vexi-svn mailing list Vexi-svn@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/vexi-svn