On 10/26/16, 4:33 AM, "kamcknig" <[email protected]> wrote:
>Test project attached. If you just click each of the buttons multiple >times, >as in "set 1" two or three times, then set 2 two or three times, you'll >see >it keeps resetting the width. The width should auto fit to the shortest >text >each time. Shortest text? What happens to longer text? I don't think I saw any code trying to measure and find the shortest. How many rate renderers do you think you will need? In your test case, the TileLayout has useVirtualLayout=true. TileLayout does some caching when useVirtualLayout=true and I think that's screwing up the app because the TileLayout is remembering information from the last layout pass and using that in the calculation of the next layout pass. I set useVirtualLayout="false" on the List containing the TileList and things seemed to be more stable. -Alex
