use the lineedit element

svn path=/trunk/KDE/kdelibs/; revision=1027232
This commit is contained in:
Marco Martin 2009-09-23 16:18:38 +00:00
parent e17155505a
commit 6c4ec4f091

View File

@ -60,7 +60,7 @@ public:
{ {
if (!textBox) { if (!textBox) {
textBox = new Plasma::FrameSvg(q); textBox = new Plasma::FrameSvg(q);
textBox->setImagePath("widgets/frame"); textBox->setImagePath("widgets/lineedit");
textBox->setElementPrefix("sunken"); textBox->setElementPrefix("sunken");
} }
} }
@ -281,6 +281,7 @@ void Style::drawPrimitive(PrimitiveElement element, const QStyleOption *option,
} }
d->createTextBox(); d->createTextBox();
d->textBox->setElementPrefix("base");
d->textBox->resizeFrame(option->rect.size()); d->textBox->resizeFrame(option->rect.size());
d->textBox->paintFrame(painter); d->textBox->paintFrame(painter);
break; break;