update the geometry when the text changes, apparently it doesn't get done automagically :/
svn path=/trunk/KDE/kdelibs/; revision=1057231
This commit is contained in:
parent
1a4dcf8278
commit
bd279b081f
@ -134,6 +134,7 @@ Label::~Label()
|
||||
void Label::setText(const QString &text)
|
||||
{
|
||||
static_cast<QLabel*>(widget())->setText(text);
|
||||
updateGeometry();
|
||||
}
|
||||
|
||||
QString Label::text() const
|
||||
|
Loading…
Reference in New Issue
Block a user