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