From a4d5bdee61fcfd186ca23a12e76efbbb627dfe53 Mon Sep 17 00:00:00 2001
From: Jens Bache-Wiig <jens.bache-wiig@nokia.com>
Date: Fri, 20 Nov 2009 13:50:40 +0100
Subject: [PATCH] Fixes:    Fix incorrectly streched border image for line
 edits

Task:     QTCREATORBUG-326
Details:
The image simply needs bigger margins to avoid the shadow
beeing streched too far.
---
 src/plugins/coreplugin/manhattanstyle.cpp | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/plugins/coreplugin/manhattanstyle.cpp b/src/plugins/coreplugin/manhattanstyle.cpp
index ffb3959c583..3b23ed05b9a 100644
--- a/src/plugins/coreplugin/manhattanstyle.cpp
+++ b/src/plugins/coreplugin/manhattanstyle.cpp
@@ -481,9 +481,9 @@ void ManhattanStyle::drawPrimitive(PrimitiveElement element, const QStyleOption
             painter->fillRect(filledRect, option->palette.base());
 
             if (option->state & State_Enabled)
-                drawCornerImage(d->lineeditImage, painter, option->rect, 2, 2, 2, 2);
+                drawCornerImage(d->lineeditImage, painter, option->rect, 5, 5, 5, 5);
             else
-                drawCornerImage(d->lineeditImage_disabled, painter, option->rect, 2, 2, 2, 2);
+                drawCornerImage(d->lineeditImage_disabled, painter, option->rect, 5, 5, 5, 5);
 
             if (option->state & State_HasFocus || option->state & State_MouseOver) {
                 QColor hover = Utils::StyleHelper::baseColor();
-- 
GitLab