manually reduce shadow size in preview for better rendering.

This commit is contained in:
Hugo Pereira Da Costa 2012-01-16 10:16:29 +01:00
parent 2e69668f99
commit 2b2a21e4d4

View file

@ -118,6 +118,10 @@ namespace Oxygen
foreach( QLabel* widget, children ) foreach( QLabel* widget, children )
{ widget->setAutoFillBackground( false ); } { widget->setAutoFillBackground( false ); }
// also change shadow configuration size to something that fits in the preview list
shadowCache().setShadowSize( QPalette::Active, 15 );
shadowCache().setShadowSize( QPalette::Inactive, 15 );
} }
_initialized = true; _initialized = true;