Fix innerHeight of widgets when topbar is added/removed (in options)
This commit is contained in:
@@ -147,7 +147,9 @@ class WidgetsContainer: public FormGroup, public WidgetsContainerInterface
|
|||||||
{
|
{
|
||||||
for (int i = 0; i < N; i++) {
|
for (int i = 0; i < N; i++) {
|
||||||
if (widgets[i]) {
|
if (widgets[i]) {
|
||||||
widgets[i]->setRect(getZone(i));
|
auto zone = getZone(i);
|
||||||
|
widgets[i]->setRect(zone);
|
||||||
|
widgets[i]->setInnerHeight(zone.h);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user