manually reduce shadow size in preview for better rendering.
This commit is contained in:
parent
2e69668f99
commit
2b2a21e4d4
1 changed files with 4 additions and 0 deletions
|
@ -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;
|
||||||
|
|
Loading…
Reference in a new issue