Announcement

Collapse
No announcement yet.
X
  • Filter
  • Time
Clear All
new posts

    FlowLayout bug (not laid out - overlapping)

    No test case, but here is the scenario, observed behavior and a workaround.

    I have a TabSet that contains several FlowLayout Panes. When I create each Tab, I add a single button to it. Then, after a data fetch from the server, I add a number of buttons to each Tab.

    Bug: When each tab is first drawn, the first two dynamic (eg, data fetched from server) buttons I add to the flow layout are drawn on top each other.

    Workaround: I add a drawHandler to the FlowLayout and force it to layout the tiles when it is drawn.

    My best guess is that there is some faulty logic in the FlowLayout. It is strange that it is only the first dynamically added button that is overdrawn.

    #2
    SC_SNAPSHOT-2011-08-31/Pro Deployment 2011-08-31
    Firefox 3.6.22, Chrome 14.0.835.186

    Comment

    Working...
    X