From 46d7ec42216663f3901702f11005b428f1511829 Mon Sep 17 00:00:00 2001 From: dogmaphobic Date: Thu, 5 Mar 2015 00:19:22 -0500 Subject: [PATCH] Button too small for when it switches to disconnect (multiple links adds a drop down icon to the button). --- src/ui/toolbar/MainToolBar.qml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/ui/toolbar/MainToolBar.qml b/src/ui/toolbar/MainToolBar.qml index 014c0262f..c577c337e 100644 --- a/src/ui/toolbar/MainToolBar.qml +++ b/src/ui/toolbar/MainToolBar.qml @@ -469,7 +469,7 @@ Rectangle { QGCButton { id: connectButton - width: 90 + width: 100 height: cellHeight visible: (mainToolBar.connectionCount === 0 || mainToolBar.connectionCount === 1) text: (mainToolBar.configList.length > 0) ? (mainToolBar.connectionCount === 0) ? qsTr("Connect") : qsTr("Disconnect") : qsTr("Add Link") @@ -496,7 +496,7 @@ Rectangle { QGCButton { id: multidisconnectButton - width: 90 + width: 100 height: cellHeight text: qsTr("Disconnect") visible: (mainToolBar.connectionCount > 1) -- 2.22.0