summaryrefslogtreecommitdiff
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
parented5aec7376ab2f4c68750c07ca4187d8b17c349d (diff)
fixed REC column too large
-rw-r--r--muse2/ChangeLog3
-rw-r--r--muse2/muse/widgets/header.cpp2
2 files changed, 4 insertions, 1 deletions
diff --git a/muse2/ChangeLog b/muse2/ChangeLog
index aa7b65d1..9eee3e8b 100644
--- a/muse2/ChangeLog
+++ b/muse2/ChangeLog
@@ -1,4 +1,7 @@
28.08.2011:
+ - Fixed wierd column expansion for [rec] column by removing autoexpand of the last column. Still
+ something fishy with moving columns (rj)
+27.08.2011:
- Changed mousewheel behaviour, vertical scrolling is default and horizontal scrolling (shift) is reversed (rj)
17.08.2011:
- Convert some Qt3 style coding in ComboBox to Qt4 in terms of menu entry handling. (Orcan)
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)