If you explicitly set the rowCount, columnCount we try to honor that.
 
If you instead just fix width/height (480x400), then we'll recalc.

________________________________

From: [email protected] [mailto:[EMAIL PROTECTED] On Behalf Of bjorn -
Sent: Monday, August 27, 2007 1:14 AM
To: [email protected]
Subject: [flexcoders] TileList problems (thumbnails w/size switching enabled)



I've got a tilelist which is linked to an ArrayCollection of "MyItems" which 
each contain an image:Object. I've got a button that enables the user to switch 
thumbnail size.
 
However, this messes scrolling up on the TileList. The rowHeight/columnWidth 
values in the TileList seem to be updated correctly though, here's a trace 
example:
 
rowHeight = 120
rowCount = 4
columnWidth = 100
columnCount = 4
--------------------( thumbnail size switch )-------------------
rowHeight = 360
rowCount = 4
columnWidth = 340
columnCount = 4
 
 
.. but how come the columnCount / rowCount remain the same? Shouldn't these 
properties be updated as well to reflect the new sizes.
 
 
Best regards,
Bjørn
-- 

========================
http://www.juicability.com <http://www.juicability.com>  - flex blog
http://www.43min.com <http://www.43min.com>  - funny movies 

 

Reply via email to