Set button default width and height

This commit is contained in:
Angela Mazzurco 2017-07-22 15:54:41 +02:00
parent 905b1d6556
commit 5138683784

View File

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