diff options
Diffstat (limited to 'muse2')
-rw-r--r-- | muse2/ChangeLog | 3 | ||||
-rw-r--r-- | muse2/muse/widgets/header.cpp | 2 |
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) |