mirror of
https://github.com/MihailRis/voxelcore.git
synced 2026-10-07 03:51:50 +00:00
add 'min-size' ui property
This commit is contained in:
parent
0ce5e23a2a
commit
209490192c
4 changed files with 10 additions and 1 deletions
|
|
@ -91,6 +91,9 @@ static void _readUINode(
|
|||
if (element.has("pos")) {
|
||||
node.setPos(element.attr("pos").asVec2());
|
||||
}
|
||||
if (element.has("min-size")) {
|
||||
node.setMinSize(element.attr("min-size").asVec2());
|
||||
}
|
||||
if (element.has("size")) {
|
||||
node.setSize(element.attr("size").asVec2());
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue