~miko-kiiski/mixxx/auto-expand

« back to all changes in this revision

Viewing changes to mixxx/src/widget/wlibrarytableview.cpp

  • Committer: Albert Santoni
  • Date: 2010-02-23 05:31:01 UTC
  • Revision ID: alberts@mixxx.org-20100223053101-gposxa6vxrfsb1y6
* Change scrolling to be per-pixel instead of per-item in WLibraryTableView. Workaround for bug.

Show diffs side-by-side

added added

removed removed

Lines of Context:
26
26
    setShowGrid(false);
27
27
    setCornerButtonEnabled(false);
28
28
    setSortingEnabled(true);
 
29
    //Work around a Qt bug that lets you make your columns so wide you
 
30
    //can't reach the divider to make them small again.
 
31
    setHorizontalScrollMode(QAbstractItemView::ScrollPerPixel);
29
32
 
30
33
    verticalHeader()->hide();
31
34
    verticalHeader()->setDefaultSectionSize(20);