Fix height problem

This commit is contained in:
Angela Mazzurco 2017-07-22 16:21:32 +02:00
parent 4e4c991034
commit e4e3411308

View File

@ -20,7 +20,7 @@ Item
property int borderRadius property int borderRadius
property int innerMargin: 10 property int innerMargin: 10
height: 50 height: innerText.height + innerMargin + innerMargin
width: innerText.width + innerMargin + innerMargin width: innerText.width + innerMargin + innerMargin
scale: state === "Pressed" ? 0.96 : 1.0 scale: state === "Pressed" ? 0.96 : 1.0