mirror of
https://github.com/tomahawk-player/tomahawk.git
synced 2025-08-09 23:57:34 +02:00
Try to make the separator lines less ugly.
This commit is contained in:
@@ -51,7 +51,7 @@ AccountListWidget::AccountListWidget( AccountModelFactoryProxy* model, QWidget*
|
|||||||
QWidget* separatorLine = new QWidget( this );
|
QWidget* separatorLine = new QWidget( this );
|
||||||
separatorLine->setFixedHeight( 1 );
|
separatorLine->setFixedHeight( 1 );
|
||||||
separatorLine->setContentsMargins( 0, 0, 0, 0 );
|
separatorLine->setContentsMargins( 0, 0, 0, 0 );
|
||||||
separatorLine->setStyleSheet( "QWidget { border-top: 1px solid black; }" );
|
separatorLine->setStyleSheet( "QWidget { border-top: 1px solid rgb( 140, 140, 140 ); }" ); //from ProxyStyle
|
||||||
mainLayout->insertWidget( 0, separatorLine );
|
mainLayout->insertWidget( 0, separatorLine );
|
||||||
mainLayout->addSpacing( 6 );
|
mainLayout->addSpacing( 6 );
|
||||||
|
|
||||||
|
@@ -74,7 +74,7 @@ AccountsToolButton::AccountsToolButton( QWidget* parent )
|
|||||||
QWidget *separatorLine = new QWidget( w );
|
QWidget *separatorLine = new QWidget( w );
|
||||||
separatorLine->setFixedHeight( 1 );
|
separatorLine->setFixedHeight( 1 );
|
||||||
separatorLine->setContentsMargins( 0, 0, 0, 0 );
|
separatorLine->setContentsMargins( 0, 0, 0, 0 );
|
||||||
separatorLine->setStyleSheet( "QWidget { border-top: 1px solid black; }" );
|
separatorLine->setStyleSheet( "QWidget { border-top: 1px solid rgb( 140, 140, 140 ); }" ); //from ProxyStyle
|
||||||
wMainLayout->addWidget( separatorLine );
|
wMainLayout->addWidget( separatorLine );
|
||||||
|
|
||||||
QPushButton *settingsButton = new QPushButton( w );
|
QPushButton *settingsButton = new QPushButton( w );
|
||||||
|
Reference in New Issue
Block a user