mirror of
https://github.com/tomahawk-player/tomahawk.git
synced 2025-08-17 03:24:15 +02:00
fix QueueView hidden height with new font sizes
This commit is contained in:
@@ -41,7 +41,10 @@ QueueView::QueueView( AnimatedSplitter* parent )
|
|||||||
TomahawkUtils::unmarginLayout( layout() );
|
TomahawkUtils::unmarginLayout( layout() );
|
||||||
setContentsMargins( 0, 0, 0, 0 );
|
setContentsMargins( 0, 0, 0, 0 );
|
||||||
|
|
||||||
setHiddenSize( QSize( 0, 22 ) );
|
QFont f;
|
||||||
|
f.setPointSize( 10 );
|
||||||
|
QFontMetrics fm( f );
|
||||||
|
setHiddenSize( QSize( 0, fm.height() * 1.1 ) );
|
||||||
|
|
||||||
ui->queue->setProxyModel( new QueueProxyModel( ui->queue ) );
|
ui->queue->setProxyModel( new QueueProxyModel( ui->queue ) );
|
||||||
ui->queue->setSizePolicy( QSizePolicy::Preferred, QSizePolicy::Ignored );
|
ui->queue->setSizePolicy( QSizePolicy::Preferred, QSizePolicy::Ignored );
|
||||||
|
Reference in New Issue
Block a user