Revision: 3978 http://vexi.svn.sourceforge.net/vexi/?rev=3978&view=rev Author: clrg Date: 2010-12-21 03:04:20 +0000 (Tue, 21 Dec 2010)
Log Message: ----------- Bugfix spin - value returns a string Modified Paths: -------------- trunk/org.vexi-vexi.widgets/src_main/org/vexi/theme/classic/spin.t Modified: trunk/org.vexi-vexi.widgets/src_main/org/vexi/theme/classic/spin.t =================================================================== --- trunk/org.vexi-vexi.widgets/src_main/org/vexi/theme/classic/spin.t 2010-12-21 03:02:38 UTC (rev 3977) +++ trunk/org.vexi-vexi.widgets/src_main/org/vexi/theme/classic/spin.t 2010-12-21 03:04:20 UTC (rev 3978) @@ -38,7 +38,7 @@ var setMinwidth = function(t) { var l1 = t.maxvalue ? t.maxvalue.string.length : 1; var l2 = t.minvalue ? t.minvalue.string.length : 1; - var lv = t.value ? t.value.string.length : 1; + var lv = t.value ? t.value.length : 1; t.th_viewport.minwidth = t.paddingleft + t.paddingright + (l1>l2?(l1>lv?l1:lv):(l2>lv?l2:lv)) * vexi.ui.font.width(t.font, t.fontsize, "0"); } This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. ------------------------------------------------------------------------------ Lotusphere 2011 Register now for Lotusphere 2011 and learn how to connect the dots, take your collaborative environment to the next level, and enter the era of Social Business. http://p.sf.net/sfu/lotusphere-d2d _______________________________________________ Vexi-svn mailing list Vexi-svn@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/vexi-svn