with a minimum size policy screws a little bit less in layouts
svn path=/trunk/KDE/kdelibs/; revision=915265
This commit is contained in:
parent
9eab58a6b2
commit
2836267745
@ -146,6 +146,8 @@ PushButton::PushButton(QGraphicsWidget *parent)
|
||||
setWidget(native);
|
||||
native->setAttribute(Qt::WA_NoSystemBackground);
|
||||
|
||||
setSizePolicy(QSizePolicy::Minimum, QSizePolicy::Minimum);
|
||||
|
||||
d->background = new FrameSvg(this);
|
||||
d->background->setImagePath("widgets/button");
|
||||
d->background->setCacheAllRenderedFrames(true);
|
||||
|
Loading…
Reference in New Issue
Block a user