mirror of
https://github.com/f4exb/sdrangel.git
synced 2026-06-04 15:04:38 -04:00
Set window width to account for miniumum width required for visible rollups.
This commit is contained in:
@@ -234,7 +234,8 @@ void StarTrackerGUI::onWidgetRolled(QWidget* widget, bool rollDown)
|
||||
}
|
||||
|
||||
int h = rollupContents->height() + getAdditionalHeight();
|
||||
resize(width(), h);
|
||||
int w = std::max(width(), rollupContents->minimumWidth() + gripSize() * 2);
|
||||
resize(w, h);
|
||||
|
||||
rollupContents->saveState(m_rollupState);
|
||||
applySettings();
|
||||
|
||||
Reference in New Issue
Block a user