From 5138683784ed510aef7baa48158918ff6e7a77c2 Mon Sep 17 00:00:00 2001 From: Angela Mazzurco Date: Sat, 22 Jul 2017 15:54:41 +0200 Subject: [PATCH] Set button default width and height --- retroshare-qml-app/src/components/ButtonText.qml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/retroshare-qml-app/src/components/ButtonText.qml b/retroshare-qml-app/src/components/ButtonText.qml index 1adb4033e..89655f7df 100644 --- a/retroshare-qml-app/src/components/ButtonText.qml +++ b/retroshare-qml-app/src/components/ButtonText.qml @@ -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