1
0
mirror of https://github.com/f4exb/sdrangel.git synced 2026-06-05 23:45:00 -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
@@ -239,7 +239,8 @@ void SatelliteTrackerGUI::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();