Opened 11 years ago
Closed 11 years ago
#12623 closed defect (fixed)
RoundRect does not call its children's resize()
Reported by: | ykami | Owned by: | ykami |
---|---|---|---|
Priority: | high | Milestone: | 1.7 |
Component: | DojoX Mobile | Version: | 1.6.0 |
Keywords: | 1.7-mobile | Cc: | |
Blocked By: | Blocking: |
Description
dojox.mobile.RoundRect is a container widget, but it does not call its children's resize(). Therefore, in the following case for example, resize() of the Chart widget is not called even when resize() of View is called expecting resize() for each descendant widget is called.
<div dojoType="View"> <div dojoType="RoundRect"> <div dojoType="Chart"></div> </div> </div>
Change History (3)
comment:1 Changed 11 years ago by
comment:2 Changed 11 years ago by
comment:3 Changed 11 years ago by
Resolution: | → fixed |
---|---|
Status: | new → closed |
Added resize() to RoundRect. In addition to that, slightly modified the resize strategy. After the view transition, instead of calling view.resize(), search the view recursively for top-level resizable widgets and call resize() for each found widget. This way, even if RoundRect has no resize method, its children's resize() will be called.
Note: See
TracTickets for help on using
tickets.
Also, resize() of dojox.mobile.ContentPage is not called at startup.