Commit a4d5bdee authored by Jens Bache-Wiig's avatar Jens Bache-Wiig
Browse files

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.
parent ea40dfbf
......@@ -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();
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment