From 360a7dcfbb1fb973fbf094930d714bf29c935907 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Patrick=20Jos=C3=A9=20Pereira?= Date: Fri, 30 Jul 2021 10:11:18 -0400 Subject: [PATCH] QGCButton: Set size for text MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Allow usage of wrapMode Signed-off-by: Patrick José Pereira --- src/QmlControls/QGCButton.qml | 1 + 1 file changed, 1 insertion(+) diff --git a/src/QmlControls/QGCButton.qml b/src/QmlControls/QGCButton.qml index 6570bd4..cfda4bf 100644 --- a/src/QmlControls/QGCButton.qml +++ b/src/QmlControls/QGCButton.qml @@ -71,6 +71,7 @@ Button { text: control.text font.pointSize: pointSize font.family: ScreenTools.normalFontFamily + width: parent.width color: _showHighlight ? qgcPal.buttonHighlightText : (primary ? qgcPal.primaryButtonText : qgcPal.buttonText)