comparison view/PaneStack.cpp @ 606:fbab21439115

Column stretch 0 avoids spare empty space at the right when property boxes are off
author Chris Cannam
date Mon, 30 Jan 2012 13:24:55 +0000
parents a7a89ebe4b02
children 156a120345ae
comparison
equal deleted inserted replaced
605:a7a89ebe4b02 606:fbab21439115
120 layout->addWidget(properties, 0, 2, 2, 1); 120 layout->addWidget(properties, 0, 2, 2, 1);
121 } else { 121 } else {
122 properties->setParent(m_propertyStackStack); 122 properties->setParent(m_propertyStackStack);
123 m_propertyStackStack->addWidget(properties); 123 m_propertyStackStack->addWidget(properties);
124 } 124 }
125 layout->setColumnStretch(2, 1); 125 layout->setColumnStretch(2, 0);
126 126
127 PaneRec rec; 127 PaneRec rec;
128 rec.pane = pane; 128 rec.pane = pane;
129 rec.propertyStack = properties; 129 rec.propertyStack = properties;
130 rec.xButton = xButton; 130 rec.xButton = xButton;