no return in property bindings

or doesn't do the signal connection to pthe property changed
This commit is contained in:
Marco Martin 2012-10-08 14:45:34 +02:00
parent f5275fc57a
commit fe783b7355

View File

@ -104,9 +104,9 @@ Item {
implicitWidth: {
if (label.implicitWidth == 0) {
return height;
height;
} else {
return Math.max(theme.defaultFont.mSize.width*12, minimumWidth);
Math.max(theme.defaultFont.mSize.width*12, minimumWidth);
}
}
implicitHeight: Math.max(theme.defaultFont.mSize.height*1.6, minimumHeight)