1
0
mirror of https://github.com/tomahawk-player/tomahawk.git synced 2025-04-20 16:02:07 +02:00

* Fixed BasicHeader's resizeEvent.

This commit is contained in:
Christian Muehlhaeuser 2014-09-22 18:31:32 +02:00
parent 0ac8f9adcd
commit d9e02fd598

View File

@ -119,8 +119,10 @@ BasicHeader::setPixmap( const QPixmap& pixmap, bool tinted )
void
BasicHeader::resizeEvent( QResizeEvent* /* event */)
BasicHeader::resizeEvent( QResizeEvent* event )
{
BackgroundWidget::resizeEvent( event );
ui->captionLabel->setFixedWidth( width() * 0.33 );
ui->balanceSpacer->changeSize( ui->captionLabel->width(), 1, QSizePolicy::Expanding, QSizePolicy::Fixed );
}