adjusted shadow rounded rect for checkboxes

adjusted default outline color for buttons
wilder-pre-rebase
Hugo Pereira Da Costa 12 years ago
parent 5c06a6e0cd
commit cd0ad06b5c
  1. 5
      kstyle/breezehelper.cpp

@ -153,7 +153,7 @@ namespace Breeze
QColor Helper::buttonOutlineColor( const QPalette& palette, bool mouseOver, bool hasFocus, qreal opacity, AnimationMode mode ) const
{
QColor outline( KColorUtils::mix( palette.color( QPalette::Button ), palette.color( QPalette::ButtonText ), 0.4 ) );
QColor outline( KColorUtils::mix( palette.color( QPalette::Button ), palette.color( QPalette::ButtonText ), 0.3 ) );
if( mode == AnimationHover )
{
@ -667,7 +667,8 @@ namespace Breeze
painter->setPen( QPen( shadow, 2 ) );
painter->setBrush( Qt::NoBrush );
painter->drawRoundedRect( shadowRect( frameRect ), radius, radius );
const qreal shadowRadius( radius + 0.5 );
painter->drawRoundedRect( shadowRect( frameRect ), shadowRadius, shadowRadius );
}

Loading…
Cancel
Save