diff view/PaneStack.cpp @ 324:1f67b110c1a3

* fix pane layout problem; fix waveform butterfly mode
author Chris Cannam
date Wed, 07 Nov 2007 16:52:52 +0000
parents 267586900360
children 6167a28d25fc
line wrap: on
line diff
--- a/view/PaneStack.cpp	Wed Nov 07 16:37:17 2007 +0000
+++ b/view/PaneStack.cpp	Wed Nov 07 16:52:52 2007 +0000
@@ -69,13 +69,13 @@
 
     QVBoxLayout *vlayout = new QVBoxLayout;
     layout->addLayout(vlayout);
-    layout->setStretchFactor(vlayout, 1);
+    layout->setStretchFactor(vlayout, 0);
 
     QPushButton *xButton = new QPushButton(frame);
     xButton->setIcon(IconLoader().load("cross"));
     xButton->setFixedSize(QSize(16, 16));
     vlayout->addWidget(xButton);
-    vlayout->setStretchFactor(xButton, 1);
+    vlayout->setStretchFactor(xButton, 0);
     connect(xButton, SIGNAL(clicked()), this, SLOT(paneDeleteButtonClicked()));
 
     QLabel *currentIndicator = new QLabel(frame);