[UI] Removed horizontal scroll bars

This commit is contained in:
emeric
2015-08-06 12:35:10 +02:00
parent 2a7f5ae886
commit fc2db4d7f3
4 changed files with 16 additions and 4 deletions
+1
View File
@@ -493,6 +493,7 @@ Updater::processAudioFile( const boost::filesystem::path& file, Stats& stats)
track.modify()->setLastWriteTime(lastWriteTime);
track.modify()->setName(title);
track.modify()->setDuration( boost::any_cast<boost::posix_time::time_duration>(items[MetaData::Type::Duration]) );
track.modify()->setAddedTime( boost::posix_time::second_clock::local_time() );
{
std::string trackGenreList;
+2
View File
@@ -291,6 +291,8 @@ _trackSelector(new TrackSelector())
this->setColumnWidth(COLUMN_ID_NAME, 240);
this->setLayoutSizeAware(true);
this->setOverflow(Wt::WContainerWidget::OverflowHidden, Wt::Horizontal);
this->setOverflow(Wt::WContainerWidget::OverflowScroll, Wt::Vertical);
this->setColumnHidden(COLUMN_ID_TRACK_ID, true);
+12 -3
View File
@@ -48,7 +48,10 @@ TableFilterGenre::TableFilterGenre(Wt::WContainerWidget* parent)
this->selectionChanged().connect(this, &TableFilterGenre::emitUpdate);
setLayoutSizeAware(true);
this->setOverflow(Wt::WContainerWidget::OverflowHidden, Wt::Horizontal);
this->setOverflow(Wt::WContainerWidget::OverflowScroll, Wt::Vertical);
this->setLayoutSizeAware(true);
_queryModel.setBatchSize(100);
@@ -120,7 +123,10 @@ TableFilterArtist::TableFilterArtist(Wt::WContainerWidget* parent)
this->selectionChanged().connect(this, &TableFilterArtist::emitUpdate);
setLayoutSizeAware(true);
this->setOverflow(Wt::WContainerWidget::OverflowHidden, Wt::Horizontal);
this->setOverflow(Wt::WContainerWidget::OverflowScroll, Wt::Vertical);
this->setLayoutSizeAware(true);
_queryModel.setBatchSize(100);
@@ -198,7 +204,10 @@ TableFilterRelease::TableFilterRelease(Wt::WContainerWidget* parent)
this->selectionChanged().connect(this, &TableFilterRelease::emitUpdate);
setLayoutSizeAware(true);
this->setOverflow(Wt::WContainerWidget::OverflowHidden, Wt::Horizontal);
this->setOverflow(Wt::WContainerWidget::OverflowScroll, Wt::Vertical);
this->setLayoutSizeAware(true);
_queryModel.setBatchSize(100);
+1 -1
View File
@@ -67,7 +67,7 @@ TrackView::TrackView(Wt::WContainerWidget* parent)
this->setColumnWidth(6, 70); // Date
this->setColumnWidth(7, 70); // Original Date
this->setColumnWidth(8, 180); // Genres
// this->setOverflow(Wt::WContainerWidget::OverflowScroll, Wt::Vertical);
this->setOverflow(Wt::WContainerWidget::OverflowScroll, Wt::Vertical);
// Duration display
{