use the lineedit element
svn path=/trunk/KDE/kdelibs/; revision=1027232
This commit is contained in:
parent
e17155505a
commit
6c4ec4f091
@ -60,7 +60,7 @@ public:
|
||||
{
|
||||
if (!textBox) {
|
||||
textBox = new Plasma::FrameSvg(q);
|
||||
textBox->setImagePath("widgets/frame");
|
||||
textBox->setImagePath("widgets/lineedit");
|
||||
textBox->setElementPrefix("sunken");
|
||||
}
|
||||
}
|
||||
@ -281,6 +281,7 @@ void Style::drawPrimitive(PrimitiveElement element, const QStyleOption *option,
|
||||
}
|
||||
d->createTextBox();
|
||||
|
||||
d->textBox->setElementPrefix("base");
|
||||
d->textBox->resizeFrame(option->rect.size());
|
||||
d->textBox->paintFrame(painter);
|
||||
break;
|
||||
|
Loading…
Reference in New Issue
Block a user