开发者

flex TileLayout - want equal tile width but not height

开发者 https://www.devze.com 2023-04-01 17:40 出处:网络
I am working on a Flex mobile project and am using a TileLayout to layout 开发者_JAVA百科a bunch of groups. The problem is, if any text in one of the groups spans several lines, ALL tiles get resized

I am working on a Flex mobile project and am using a TileLayout to layout 开发者_JAVA百科a bunch of groups. The problem is, if any text in one of the groups spans several lines, ALL tiles get resized to the same height. I need the tile width to be the same for all tiles, but I want the tile height to be the tallest only on each row. Thanks for the help.


I found a work-around for this. I had to write a custom layout that calculates the number of columns and the max height for each row.

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号