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.
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.
Comment