mirror of
https://gitlab.com/OpenMW/openmw.git
synced 2025-04-28 21:07:59 +03:00
Make coordinate calculation more robust, implement Flex widget type
This commit is contained in:
parent
fbc84465c5
commit
788745e004
10 changed files with 181 additions and 25 deletions
|
@ -29,7 +29,7 @@ namespace LuaUi
|
|||
size.width = std::max(size.width, coord.left + coord.width);
|
||||
size.height = std::max(size.height, coord.top + coord.height);
|
||||
}
|
||||
setForcedSize(size);
|
||||
forceSize(size);
|
||||
updateCoord();
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue