Changes between Initial Version and Version 1 of Ticket #9794


Ignore:
Timestamp:
Aug 31, 2009, 10:43:10 AM (11 years ago)
Author:
bill
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #9794 – Description

    initial v1  
    77The cause is:
    88
    9 1. on page loade, the !BorderContainer's !ContentPanes think they are shown even though they are hidden indirectly because the !BorderContainer is hidden.   !ContentPane.startup() calls _scheduleLayout(), which calls _isShown(), and since _isShown() returns true it tries to layout instantly.   Besides being inefficient, this leads to the next problem:
     91. on page load, the !BorderContainer's !ContentPane thinks it's shown but actually it's  hidden indirectly, because the !BorderContainer is hidden.   !ContentPane.startup() calls _scheduleLayout(), which calls _isShown(), and since _isShown() returns true it tries to layout instantly.   Besides being inefficient, this leads to the next problem.
    1010
    11112. selecting the !BorderContainer pane calls !ContentPane.resize() but !ContentPane.resize() doesn't recurse to it's children since it thinks they've already been laid out.