| 128 | //----------------------------------------------------------------------------- |
| 129 | |
| 130 | bool GuiContainer::resize( const Point2I &newPosition, const Point2I &newExtent ) |
| 131 | { |
| 132 | if( !Parent::resize( newPosition, newExtent ) ) |
| 133 | return false; |
| 134 | |
| 135 | RectI clientRect = getClientRect(); |
| 136 | layoutControls( clientRect ); |
| 137 | |
| 138 | GuiControl *parent = getParent(); |
| 139 | S32 docking = getDocking(); |
| 140 | if( parent && docking != Docking::dockNone && docking != Docking::dockInvalid ) |
| 141 | setUpdateLayout( updateParent ); |
| 142 | |
| 143 | return true; |
| 144 | } |
| 145 | |
| 146 | //----------------------------------------------------------------------------- |
| 147 |
no test coverage detected