Skip to content

Commit

Permalink
Add horizontal scroll-bar in treeview pane
Browse files Browse the repository at this point in the history
  • Loading branch information
Irina Grosu authored and ywwg committed May 22, 2013
1 parent 888ab08 commit 914334c
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions mixxx/src/widget/wlibrarysidebar.cpp
Expand Up @@ -16,6 +16,9 @@ WLibrarySidebar::WLibrarySidebar(QWidget* parent) : QTreeView(parent) {
setDropIndicatorShown(true);
setAcceptDrops(true);
setAutoScroll(true);
header()->setStretchLastSection(false);
header()->setResizeMode(QHeaderView::ResizeToContents);
header()->setHorizontalScrollMode(QAbstractItemView::ScrollPerPixel);
}

WLibrarySidebar::~WLibrarySidebar() {
Expand Down

0 comments on commit 914334c

Please sign in to comment.