fix button icon sizing

This commit is contained in:
Marco Martin 2012-01-03 21:16:25 +01:00
parent 5007558edb
commit 4bf3597b2d
2 changed files with 4 additions and 0 deletions

View File

@ -219,6 +219,8 @@ Item {
left: label.paintedWidth > 0 ? parent.left : undefined
horizontalCenter: label.paintedWidth > 0 ? undefined : parent.horizontalCenter
}
height: roundToStandardSize(parent.height)
width: height
}
Text {

View File

@ -182,6 +182,8 @@ Item {
left: label.text ? parent.left : undefined
horizontalCenter: label.text ? undefined : parent.horizontalCenter
}
height: roundToStandardSize(parent.height)
width: height
}
Text {