mirror of
https://github.com/tomahawk-player/tomahawk.git
synced 2025-07-31 03:10:12 +02:00
* Fixed BasicHeader's resizeEvent.
This commit is contained in:
@@ -119,8 +119,10 @@ BasicHeader::setPixmap( const QPixmap& pixmap, bool tinted )
|
|||||||
|
|
||||||
|
|
||||||
void
|
void
|
||||||
BasicHeader::resizeEvent( QResizeEvent* /* event */)
|
BasicHeader::resizeEvent( QResizeEvent* event )
|
||||||
{
|
{
|
||||||
|
BackgroundWidget::resizeEvent( event );
|
||||||
|
|
||||||
ui->captionLabel->setFixedWidth( width() * 0.33 );
|
ui->captionLabel->setFixedWidth( width() * 0.33 );
|
||||||
ui->balanceSpacer->changeSize( ui->captionLabel->width(), 1, QSizePolicy::Expanding, QSizePolicy::Fixed );
|
ui->balanceSpacer->changeSize( ui->captionLabel->width(), 1, QSizePolicy::Expanding, QSizePolicy::Fixed );
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user