elements size temporary fixed
This commit is contained in:
parent
bc72742ee3
commit
4a22e8d57b
@ -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);
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user