Fix resize handles not showing on hover (#510)
This commit is contained in:
parent
c0624bc06f
commit
a5a46e40de
1 changed files with 5 additions and 7 deletions
|
@ -491,14 +491,12 @@ void DockLayout::redistribute(bool allowFixedItems) {
|
|||
// Recompute Layout geometry
|
||||
m_regions.front()->setGeometry(contentsRect());
|
||||
m_regions.front()->redistribute();
|
||||
if (allowFixedItems) {
|
||||
if (widgetsCanBeFixedWidth) {
|
||||
|
||||
for (QWidget *widget : fixedWidthWidgets) {
|
||||
widget->setMaximumSize(QWIDGETSIZE_MAX, QWIDGETSIZE_MAX);
|
||||
widget->setMinimumSize(0, 0);
|
||||
}
|
||||
}
|
||||
}
|
||||
m_regions.front()->calculateExtremalSizes();
|
||||
}
|
||||
|
||||
// Finally, apply Region geometries found
|
||||
|
|
Loading…
Reference in a new issue