Removed hardcoded minimum size on bottom panel. Replaced with a '25% of the current window size'.
This commit is contained in:
@@ -678,6 +678,8 @@ namespace Bloom
|
|||||||
(containerSize.height() / 2) - this->mainMenuBar->height() - this->bottomMenuBar->height() - 20
|
(containerSize.height() / 2) - this->mainMenuBar->height() - this->bottomMenuBar->height() - 20
|
||||||
)
|
)
|
||||||
);
|
);
|
||||||
|
|
||||||
|
this->bottomPanel->setMinimumResize(static_cast<int>(containerSize.height() * 0.25));
|
||||||
}
|
}
|
||||||
|
|
||||||
void InsightWindow::adjustMinimumSize() {
|
void InsightWindow::adjustMinimumSize() {
|
||||||
|
|||||||
@@ -252,9 +252,6 @@
|
|||||||
<property name="panelType">
|
<property name="panelType">
|
||||||
<enum>PanelWidgetType::BOTTOM</enum>
|
<enum>PanelWidgetType::BOTTOM</enum>
|
||||||
</property>
|
</property>
|
||||||
<property name="minimumResize">
|
|
||||||
<number>400</number>
|
|
||||||
</property>
|
|
||||||
<property name="handleSize">
|
<property name="handleSize">
|
||||||
<number>10</number>
|
<number>10</number>
|
||||||
</property>
|
</property>
|
||||||
|
|||||||
Reference in New Issue
Block a user