1
0
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:
Jon Beniston
2022-11-08 09:43:58 +00:00
parent fc2e5f5821
commit ed279812f6
42 changed files with 167 additions and 147 deletions
@@ -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();