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:
@@ -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();
|
||||
|
||||
Reference in New Issue
Block a user