summaryrefslogtreecommitdiff
path: root/muse2/muse
diff options
context:
space:
mode:
authorRobert Jonsson <spamatica@gmail.com>2011-08-28 17:07:56 +0000
committerRobert Jonsson <spamatica@gmail.com>2011-08-28 17:07:56 +0000
commit21e75f0c2d14010d060693c77fd3e22e1fccd65d (patch)
tree3b75b8603653c2b966f27cdff6325f12f9132e2b /muse2/muse
parented5aec7376ab2f4c68750c07ca4187d8b17c349d (diff)
fixed REC column too large
Diffstat (limited to 'muse2/muse')
-rw-r--r--muse2/muse/widgets/header.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/muse2/muse/widgets/header.cpp b/muse2/muse/widgets/header.cpp
index c12c8eaf..ef874fc4 100644
--- a/muse2/muse/widgets/header.cpp
+++ b/muse2/muse/widgets/header.cpp
@@ -101,7 +101,6 @@ Header::Header(QWidget* parent, const char* name)
itemModel = new QStandardItemModel;
setModel(itemModel);
setDefaultSectionSize(30);
- setStretchLastSection(true);
}
@@ -111,6 +110,7 @@ Header::Header(QWidget* parent, const char* name)
void Header::setColumnLabel(const QString & text, int col, int width )
{
+ //printf("column set to %s %d %d \n", text.toLatin1().data(), col, width);
QStandardItem *sitem = new QStandardItem(text );
itemModel->setHorizontalHeaderItem(col, sitem);
if (width > -1)