fix centering

This commit is contained in:
Marco Martin 2012-04-04 10:35:10 +02:00
parent c353ff7caa
commit 027c83e27a

View File

@ -251,7 +251,7 @@ Item {
anchors {
left: acceptButton.visible ? acceptButton.right : parent.left
//still depends from acceptButton to make text more centered
right: acceptButton.visible ? rejectButton.right : parent.right
right: acceptButton.visible ? rejectButton.left : parent.right
verticalCenter: parent.verticalCenter
}
horizontalAlignment: Text.AlignHCenter