Author: eallen
Date: 2011-04-21 13:32:15 +0000 (Thu, 21 Apr 2011)
New Revision: 4730
Modified:
trunk/cumin/python/cumin/grid/slotvis.py
trunk/cumin/resources/slots.swf
Log:
Better fix for BZ 695820 - Found a missing background color setting in flash and set it to
white. Also limited the height of the flash chart to 4K which is apparently an internal
limit to flash.
Modified: trunk/cumin/python/cumin/grid/slotvis.py
===================================================================
--- trunk/cumin/python/cumin/grid/slotvis.py 2011-04-21 13:28:51 UTC (rev 4729)
+++ trunk/cumin/python/cumin/grid/slotvis.py 2011-04-21 13:32:15 UTC (rev 4730)
@@ -168,7 +168,7 @@
cols = int(width / slot_size) * 4
rows = int(math.ceil(count / cols))
- return max(rows * slot_size, width)
+ return min(max(rows * slot_size, width), 4095)
def render_fullpageable(self, session):
return self.fullpageable and "fullpageable" or ""
Modified: trunk/cumin/resources/slots.swf
===================================================================
(Binary files differ)
Show replies by date