1
0
mirror of https://github.com/f4exb/sdrangel.git synced 2026-08-14 15:33:34 -04:00

Fix window sizing by calling sizeToContents. Roll back previous commit.

Add rollup settings.
This commit is contained in:
Jon Beniston
2026-04-19 17:12:51 +01:00
parent 61018c8e5c
commit 01b53f50b0
6 changed files with 42 additions and 8 deletions
+1 -3
View File
@@ -336,9 +336,7 @@ void FeatureGUI::sizeToContents()
size = size.expandedTo(m_topLayout->minimumSize());
size.setHeight(size.height() + getAdditionalHeight());
size.setWidth(size.width() + m_resizer.m_gripSize * 2);
// m_resizer enforces minimumSizeHint() while m_sizeGripBottomRight enforces minimumSize().
// Ensure both are consistent by making minimumSize() at least as large as minimumSizeHint().
setMinimumSize(size.expandedTo(minimumSizeHint()));
setMinimumSize(size);
}
void FeatureGUI::maximizeWindow()