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:
parent
0ac8f9adcd
commit
d9e02fd598
@ -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 );
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user