1
0
mirror of https://github.com/tomahawk-player/tomahawk.git synced 2025-08-16 19:14:06 +02:00

* Style fixes.

This commit is contained in:
Christian Muehlhaeuser
2013-06-13 11:40:51 +02:00
parent 11d41419d9
commit 745ad28ae2

View File

@@ -93,14 +93,14 @@ BasicHeader::BasicHeader( QWidget* parent )
lineAbove->setStyleSheet( QString( "QFrame { border: 1px solid %1; }" ).arg( TomahawkStyle::HEADER_UPPER.name() ) ); lineAbove->setStyleSheet( QString( "QFrame { border: 1px solid %1; }" ).arg( TomahawkStyle::HEADER_UPPER.name() ) );
lineAbove->setFrameShape( QFrame::HLine ); lineAbove->setFrameShape( QFrame::HLine );
lineAbove->setMaximumHeight( 1 ); lineAbove->setMaximumHeight( 1 );
QFrame* lineAbove2 = new QFrame( this ); QFrame* lineBelow = new QFrame( this );
lineAbove2->setStyleSheet( QString( "QFrame { border: 1px solid black; }" ) ); lineBelow->setStyleSheet( QString( "QFrame { border: 1px solid black; }" ) );
lineAbove2->setFrameShape( QFrame::HLine ); lineBelow->setFrameShape( QFrame::HLine );
lineAbove2->setMaximumHeight( 1 ); lineBelow->setMaximumHeight( 1 );
l->addItem( m_mainLayout ); l->addItem( m_mainLayout );
l->addWidget( lineAbove ); l->addWidget( lineAbove );
l->addWidget( lineAbove2 ); l->addWidget( lineBelow );
TomahawkUtils::unmarginLayout( m_mainLayout ); TomahawkUtils::unmarginLayout( m_mainLayout );
m_mainLayout->setContentsMargins( 8, 4, 8, 4 ); m_mainLayout->setContentsMargins( 8, 4, 8, 4 );