Mercurial > hg > svgui
comparison view/PaneStack.cpp @ 1527:88fcbc4d93dd
Fix goof
author | Chris Cannam |
---|---|
date | Fri, 04 Oct 2019 16:35:22 +0100 |
parents | 0f1601d870db |
children | adbc3f1c4c4e |
comparison
equal
deleted
inserted
replaced
1526:0f1601d870db | 1527:88fcbc4d93dd |
---|---|
59 m_autoResizeStack = new QWidget; | 59 m_autoResizeStack = new QWidget; |
60 m_autoResizeLayout = new QVBoxLayout; | 60 m_autoResizeLayout = new QVBoxLayout; |
61 m_autoResizeLayout->setMargin(0); | 61 m_autoResizeLayout->setMargin(0); |
62 m_autoResizeLayout->setSpacing(0); | 62 m_autoResizeLayout->setSpacing(0); |
63 m_autoResizeStack->setLayout(m_autoResizeLayout); | 63 m_autoResizeStack->setLayout(m_autoResizeLayout); |
64 m_autoResizeStack->hide(); | |
65 layout->addWidget(m_autoResizeStack); | 64 layout->addWidget(m_autoResizeStack); |
66 layout->setStretchFactor(m_autoResizeStack, 1); | 65 layout->setStretchFactor(m_autoResizeStack, 1); |
67 | 66 |
68 } else { | 67 } else { |
69 | 68 |
70 m_splitter = new QSplitter; | 69 m_splitter = new QSplitter; |
71 m_splitter->setOrientation(Qt::Vertical); | 70 m_splitter->setOrientation(Qt::Vertical); |
72 m_splitter->setOpaqueResize(false); | 71 m_splitter->setOpaqueResize(false); |
73 m_splitter->show(); | |
74 layout->addWidget(m_splitter); | 72 layout->addWidget(m_splitter); |
75 layout->setStretchFactor(m_splitter, 1); | 73 layout->setStretchFactor(m_splitter, 1); |
76 } | 74 } |
77 | 75 |
78 if (m_options & int(Option::NoPropertyStacks)) { | 76 if (m_options & int(Option::NoPropertyStacks)) { |