Removed hardcoded minimum size on bottom panel. Replaced with a '25% of the current window size'.

This commit is contained in:
Nav
2022-07-14 20:48:56 +01:00
parent baed0499da
commit 6c16dc1012
2 changed files with 2 additions and 3 deletions

View File

@@ -678,6 +678,8 @@ namespace Bloom
(containerSize.height() / 2) - this->mainMenuBar->height() - this->bottomMenuBar->height() - 20
)
);
this->bottomPanel->setMinimumResize(static_cast<int>(containerSize.height() * 0.25));
}
void InsightWindow::adjustMinimumSize() {

View File

@@ -252,9 +252,6 @@
<property name="panelType">
<enum>PanelWidgetType::BOTTOM</enum>
</property>
<property name="minimumResize">
<number>400</number>
</property>
<property name="handleSize">
<number>10</number>
</property>