1
0
mirror of https://github.com/tomahawk-player/tomahawk.git synced 2025-03-20 07:49:42 +01:00

* Thinner looking splitter handle.

This commit is contained in:
Christian Muehlhaeuser 2014-08-12 20:16:41 +02:00
parent 598a871891
commit 665bbd422d

View File

@ -100,16 +100,16 @@ ProxyStyle::drawControl( ControlElement ce, const QStyleOption* opt, QPainter* p
{
if ( splitter->handleWidth() == 1 )
{
p->setPen( TomahawkStyle::BORDER_LINE );
p->setPen( Qt::black );
p->setOpacity( 0.05 );
p->drawLine( opt->rect.topLeft(), opt->rect.bottomLeft() );
}
else if ( splitter->handleWidth() == 3 )
{
p->setPen( TomahawkStyle::BORDER_LINE );
p->setPen( Qt::black );
p->setOpacity( 0.05 );
p->drawLine( opt->rect.topLeft(), opt->rect.bottomLeft() );
p->setPen( TomahawkStyle::BORDER_LINE.darker() );
p->drawLine( opt->rect.topLeft() + QPoint( 1, 0 ), opt->rect.bottomLeft() + QPoint( 1, 0 ) );
p->setPen( TomahawkStyle::BORDER_LINE );
p->drawLine( opt->rect.topLeft() + QPoint( 2, 0 ), opt->rect.bottomLeft() + QPoint( 2, 0 ) );
}
}