diff --git a/src/libtomahawk/widgets/SeekSlider.cpp b/src/libtomahawk/widgets/SeekSlider.cpp index 4a41bbc77..32427c5ca 100644 --- a/src/libtomahawk/widgets/SeekSlider.cpp +++ b/src/libtomahawk/widgets/SeekSlider.cpp @@ -35,15 +35,15 @@ SeekSlider::SeekSlider( QWidget* parent ) { setStyleSheet( QString( "QSlider::groove:horizontal {" - "height: 4px; margin: %1px; border: %2px solid rgba(200, 200, 200, 0); background: rgba(200, 200, 200, 40);" + "margin-top: %1px; margin-bottom: %1px; border: %2px solid rgba(200, 200, 200, 0); background: rgba(200, 200, 200, 40);" // "border-image: url(" RESPATH "images/seek-slider-bkg.png) %2 %2 %2 %2 stretch stretch;" "}" "QSlider::sub-page:horizontal {" - "height: 4px; margin: %1px; border: %2px solid rgba(0, 0, 0, 0); background: #ffffff;" + "margin-top: %1px; margin-bottom: %1px; border: %2px solid rgba(0, 0, 0, 0); background: #ffffff;" // "border-image: url(" RESPATH "images/seek-slider-level.png) %2 %2 %2 %2 stretch stretch;" "}" ) - .arg( 0 /*margin*/) + .arg( scaledX( 7 ) /*margin*/) .arg( 0 /*border*/) + QString( "QSlider::handle:horizontal {" diff --git a/src/tomahawk/AudioControls.cpp b/src/tomahawk/AudioControls.cpp index 1d10e4c31..69c86c3f0 100644 --- a/src/tomahawk/AudioControls.cpp +++ b/src/tomahawk/AudioControls.cpp @@ -95,6 +95,11 @@ AudioControls::AudioControls( QWidget* parent ) ui->repeatButton->setFixedSize( scaled( 16, 16 ) ); ui->volumeLowButton->setFixedSize( scaled( 16, 16 ) ); + ui->seekSlider->setFixedHeight( scaledY( 20 ) ); + ui->volumeSlider->setFixedHeight( scaledY( 20 ) ); + ui->timeLabel->setFixedHeight( scaledY( 20 ) ); + ui->timeLeftLabel->setFixedHeight( scaledY( 20 ) ); + // ui->prevButton->setToolTip( tr( "Previous Track" ) ); // ui->nextButton->setToolTip( tr( "Next Track" ) ); ui->shuffleButton->setToolTip( tr( "Shuffle" ) ); diff --git a/src/tomahawk/AudioControls.ui b/src/tomahawk/AudioControls.ui index fe9ba21b8..ee4ff2cfa 100644 --- a/src/tomahawk/AudioControls.ui +++ b/src/tomahawk/AudioControls.ui @@ -125,7 +125,7 @@ - + 0 0 @@ -247,7 +247,7 @@ Time - Qt::AlignLeading|Qt::AlignLeft|Qt::AlignVCenter + Qt::AlignLeading|Qt::AlignLeft|Qt::AlignTop @@ -282,20 +282,11 @@ Time Left - Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter + Qt::AlignRight|Qt::AlignTrailing|Qt::AlignTop - - - - 2 - - - 0 - - Qt::Horizontal @@ -422,9 +413,6 @@ Qt::Horizontal - - -