From 2b2a21e4d478e5c50d5c3c4b9bbbdb68414dde54 Mon Sep 17 00:00:00 2001 From: Hugo Pereira Da Costa Date: Mon, 16 Jan 2012 10:16:29 +0100 Subject: [PATCH] manually reduce shadow size in preview for better rendering. --- clients/oxygen/oxygenclient.cpp | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/clients/oxygen/oxygenclient.cpp b/clients/oxygen/oxygenclient.cpp index cd94eb48bf..98b3a74993 100644 --- a/clients/oxygen/oxygenclient.cpp +++ b/clients/oxygen/oxygenclient.cpp @@ -118,6 +118,10 @@ namespace Oxygen foreach( QLabel* widget, children ) { 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;