From 4775a5b74da48e27f46f62d027f14cf235caabb2 Mon Sep 17 00:00:00 2001 From: Jaquee Date: Thu, 2 Nov 2017 19:51:53 +0100 Subject: mobile layout tweaks --- components/StandardButton.qml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'components/StandardButton.qml') diff --git a/components/StandardButton.qml b/components/StandardButton.qml index 0ee722b5..6f714947 100644 --- a/components/StandardButton.qml +++ b/components/StandardButton.qml @@ -43,7 +43,7 @@ Item { signal clicked() // Dynamic label width - Layout.minimumWidth: (label.contentWidth + 10 * scaleRatio) // (label.contentWidth > 80)? label.contentWidth + 20 : 100 + Layout.minimumWidth: (label.contentWidth > 50)? label.contentWidth + 10 : 60 function doClick() { // Android workaround -- cgit v1.2.3