Mercurial > hg > svgui
comparison view/PaneStack.cpp @ 1454:4a6ca97ce783 single-point
Remove margin from inner frame
author | Chris Cannam |
---|---|
date | Fri, 10 May 2019 08:44:32 +0100 |
parents | 8afea53332f3 |
children | 69b7fdd6394f |
comparison
equal
deleted
inserted
replaced
1453:39f1154c0e97 | 1454:4a6ca97ce783 |
---|---|
53 QHBoxLayout *layout = new QHBoxLayout; | 53 QHBoxLayout *layout = new QHBoxLayout; |
54 layout->setMargin(0); | 54 layout->setMargin(0); |
55 layout->setSpacing(0); | 55 layout->setSpacing(0); |
56 | 56 |
57 m_autoResizeLayout = new QVBoxLayout; | 57 m_autoResizeLayout = new QVBoxLayout; |
58 m_autoResizeLayout->setMargin(0); | |
58 m_autoResizeLayout->setSpacing(0); | 59 m_autoResizeLayout->setSpacing(0); |
59 m_autoResizeStack->setLayout(m_autoResizeLayout); | 60 m_autoResizeStack->setLayout(m_autoResizeLayout); |
60 m_autoResizeStack->hide(); | 61 m_autoResizeStack->hide(); |
61 layout->addWidget(m_autoResizeStack); | 62 layout->addWidget(m_autoResizeStack); |
62 layout->setStretchFactor(m_autoResizeStack, 1); | 63 layout->setStretchFactor(m_autoResizeStack, 1); |