mirror of https://github.com/axmolengine/axmol.git
closed #5183, done
This commit is contained in:
parent
432f688a67
commit
993b735392
|
@ -235,7 +235,7 @@ void Widget::updateSizeAndPosition()
|
||||||
Size pSize;
|
Size pSize;
|
||||||
if (widgetParent)
|
if (widgetParent)
|
||||||
{
|
{
|
||||||
pSize = widgetParent->getSize();
|
pSize = widgetParent->getLayoutSize();
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in New Issue