mirror of https://github.com/axmolengine/axmol.git
fixed bug of layout
This commit is contained in:
parent
4cadcca497
commit
19f0e55464
|
@ -490,6 +490,7 @@ const Rect& Layout::getClippingRect()
|
|||
void Layout::onSizeChanged()
|
||||
{
|
||||
Widget::onSizeChanged();
|
||||
setContentSize(_size);
|
||||
setStencilClippingSize(_size);
|
||||
_doLayoutDirty = true;
|
||||
if (_backGroundImage)
|
||||
|
|
Loading…
Reference in New Issue