comparison view/PaneStack.cpp @ 243:92dc881926da

...
author Chris Cannam
date Fri, 27 Apr 2007 13:46:00 +0000
parents 966639cc7c11
children d9a01a817e8b
comparison
equal deleted inserted replaced
242:50c0a548d23e 243:92dc881926da
422 422
423 if (m_propertyStackMinWidth > 0) maxMinWidth = m_propertyStackMinWidth; 423 if (m_propertyStackMinWidth > 0) maxMinWidth = m_propertyStackMinWidth;
424 424
425 for (size_t i = 0; i < m_panes.size(); ++i) { 425 for (size_t i = 0; i < m_panes.size(); ++i) {
426 if (!m_panes[i].propertyStack) continue; 426 if (!m_panes[i].propertyStack) continue;
427 // std::cerr << "PaneStack::sizePropertyStacks: " << i << ": min " 427 std::cerr << "PaneStack::sizePropertyStacks: " << i << ": min "
428 // << m_panes[i].propertyStack->minimumSizeHint().width() << ", current " 428 << m_panes[i].propertyStack->minimumSizeHint().width() << ", hint "
429 // << m_panes[i].propertyStack->width() << std::endl; 429 << m_panes[i].propertyStack->sizeHint().width() << ", current "
430 << m_panes[i].propertyStack->width() << std::endl;
430 431
431 if (m_panes[i].propertyStack->minimumSizeHint().width() > maxMinWidth) { 432 if (m_panes[i].propertyStack->minimumSizeHint().width() > maxMinWidth) {
432 maxMinWidth = m_panes[i].propertyStack->minimumSizeHint().width(); 433 maxMinWidth = m_panes[i].propertyStack->minimumSizeHint().width();
433 } 434 }
434 } 435 }