Fix innerHeight of widgets when topbar is added/removed (in options)

This commit is contained in:
Raphael Coeffic
2021-04-18 07:58:27 +02:00
parent 25ff3fcfc1
commit d7ca222edd
+3 -1
View File
@@ -147,7 +147,9 @@ class WidgetsContainer: public FormGroup, public WidgetsContainerInterface
{
for (int i = 0; i < N; i++) {
if (widgets[i]) {
widgets[i]->setRect(getZone(i));
auto zone = getZone(i);
widgets[i]->setRect(zone);
widgets[i]->setInnerHeight(zone.h);
}
}
}