elements size temporary fixed

This commit is contained in:
MihailRis 2024-02-02 20:07:06 +03:00
parent bc72742ee3
commit 4a22e8d57b

View File

@ -193,7 +193,7 @@ void Panel::refresh() {
y += nodesize.y + margin.w + interval; y += nodesize.y + margin.w + interval;
float width = size.x - padding.x - padding.z - margin.x - margin.z; 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(); node->refresh();
maxw = fmax(maxw, ex+node->getSize().x+margin.z+padding.z); maxw = fmax(maxw, ex+node->getSize().x+margin.z+padding.z);
} }