Revision: 4309 http://vexi.svn.sourceforge.net/vexi/?rev=4309&view=rev Author: clrg Date: 2011-12-21 12:40:52 +0000 (Wed, 21 Dec 2011) Log Message: ----------- Handle really long words gracefully, if improperly.
Modified Paths: -------------- trunk/org.vexi-vexi.widgets/src_main/org/vexi/lib/text/block.t Modified: trunk/org.vexi-vexi.widgets/src_main/org/vexi/lib/text/block.t =================================================================== --- trunk/org.vexi-vexi.widgets/src_main/org/vexi/lib/text/block.t 2011-12-19 01:54:27 UTC (rev 4308) +++ trunk/org.vexi-vexi.widgets/src_main/org/vexi/lib/text/block.t 2011-12-21 12:40:52 UTC (rev 4309) @@ -130,7 +130,7 @@ } } b.height = cur_height; - b.minwidth = cur_x; + b.minwidth = cur_x >= 0 ? (vexi.ui.maxdim >= cur_x ? cur_x : vexi.ui.maxim) : 0; return; } This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. ------------------------------------------------------------------------------ Write once. Port to many. Get the SDK and tools to simplify cross-platform app development. Create new or port existing apps to sell to consumers worldwide. Explore the Intel AppUpSM program developer opportunity. appdeveloper.intel.com/join http://p.sf.net/sfu/intel-appdev _______________________________________________ Vexi-svn mailing list Vexi-svn@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/vexi-svn