Mercurial > hg > svgui
comparison view/PaneStack.cpp @ 1529:adbc3f1c4c4e
Fix alignment of property box when switching back on after having been hidden
author | Chris Cannam |
---|---|
date | Mon, 07 Oct 2019 14:08:23 +0100 |
parents | 88fcbc4d93dd |
children | 34311e135695 |
comparison
equal
deleted
inserted
replaced
1528:14c07e445365 | 1529:adbc3f1c4c4e |
---|---|
268 case PropertyStackPerPaneLayout: | 268 case PropertyStackPerPaneLayout: |
269 | 269 |
270 for (i = m_panes.begin(); i != m_panes.end(); ++i) { | 270 for (i = m_panes.begin(); i != m_panes.end(); ++i) { |
271 m_propertyStackStack->removeWidget(i->propertyStack); | 271 m_propertyStackStack->removeWidget(i->propertyStack); |
272 i->propertyStack->setParent(i->frame); | 272 i->propertyStack->setParent(i->frame); |
273 i->layout->addWidget(i->propertyStack, 0, 2, 2, 1); | 273 i->layout->addWidget(i->propertyStack, 1, 2, 2, 1); |
274 i->propertyStack->show(); | 274 i->propertyStack->show(); |
275 } | 275 } |
276 m_propertyStackStack->hide(); | 276 m_propertyStackStack->hide(); |
277 break; | 277 break; |
278 } | 278 } |