fixed top highlight drop-down shadow in no-border mode

svn path=/trunk/KDE/kdebase/workspace/; revision=1019927
icc-effect-5.14.5
Hugo Pereira Da Costa 2009-09-04 19:51:16 +00:00
parent ef584a973a
commit 8fc23d30fa
1 changed files with 1 additions and 1 deletions

View File

@ -422,7 +422,7 @@ namespace Nitrogen
int shadow_size = 5;
int height = HFRAMESIZE;
QRect rect( r.topLeft()-position, QSize( r.width(), height ) );
helper().slab( palette.color( widget->backgroundRole() ), 0, shadow_size )->render( rect.adjusted(-2, 0, 2, 2 ), painter, TileSet::Bottom );
helper().slab( palette.color( widget->backgroundRole() ), 0, shadow_size )->render( rect.adjusted(-shadow_size, 0, shadow_size, 2 ), painter, TileSet::Bottom );
int offset = layoutMetric( LM_OuterPaddingTop );
int gradient_height = 64 + configuration().buttonSize() - 22;