Opened 9 years ago

Closed 9 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 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>

Change History (3)

comment:1 Changed 9 years ago by ykami

Also, resize() of is not called at startup.

comment:2 Changed 9 years ago by ykami

(In [24229]) Fixes #12623 !strict. Fixed a problem where resize() is not called under some conditions.

comment:3 Changed 9 years ago by ykami

Resolution: fixed
Status: newclosed

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.