mirror of
https://github.com/MihailRis/voxelcore.git
synced 2026-10-06 03:21:49 +00:00
elements size temporary fixed
This commit is contained in:
parent
bc72742ee3
commit
4a22e8d57b
1 changed files with 1 additions and 1 deletions
|
|
@ -193,7 +193,7 @@ void Panel::refresh() {
|
|||
y += nodesize.y + margin.w + interval;
|
||||
|
||||
float width = size.x - padding.x - padding.z - margin.x - margin.z;
|
||||
//node->setSize(vec2(width, nodesize.y));;
|
||||
node->setSize(vec2(width, nodesize.y));;
|
||||
node->refresh();
|
||||
maxw = fmax(maxw, ex+node->getSize().x+margin.z+padding.z);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue