[UI] Make scroll bars depends on WT version

This commit is contained in:
emeric
2015-09-02 20:39:48 +02:00
parent c2909227d9
commit 758258d776
3 changed files with 10 additions and 1 deletions
+2 -1
View File
@@ -291,9 +291,10 @@ _trackSelector(new TrackSelector())
this->setColumnWidth(COLUMN_ID_NAME, 240);
this->setLayoutSizeAware(true);
#if WT_VERSION >= 0X03030400
this->setOverflow(Wt::WContainerWidget::OverflowHidden, Wt::Horizontal);
this->setOverflow(Wt::WContainerWidget::OverflowScroll, Wt::Vertical);
#endif
this->setColumnHidden(COLUMN_ID_TRACK_ID, true);
_itemDelegate = new PlayQueueItemDelegate();