Make coordinate calculation more robust, implement Flex widget type

This commit is contained in:
uramer 2022-04-04 23:10:03 +02:00
parent fbc84465c5
commit 788745e004
10 changed files with 181 additions and 25 deletions

View file

@ -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();
}
}