From 39ca338f9698fede907a68a55167bcd4f49b8665 Mon Sep 17 00:00:00 2001 From: Sander Ferdinand Date: Thu, 5 Apr 2018 08:30:51 +0200 Subject: [PATCH] Fixes misaligned symbols/shortcuts and changes Shared RingDB shortcut to 'A' --- LeftPanel.qml | 2 +- components/MenuButton.qml | 6 ++++-- 2 files changed, 5 insertions(+), 3 deletions(-) diff --git a/LeftPanel.qml b/LeftPanel.qml index 06edf0d5..071bd928 100644 --- a/LeftPanel.qml +++ b/LeftPanel.qml @@ -476,7 +476,7 @@ Rectangle { anchors.left: parent.left anchors.right: parent.right text: qsTr("Shared RingDB") + translationManager.emptyString - symbol: qsTr("S") + translationManager.emptyString + symbol: qsTr("A") + translationManager.emptyString dotColor: "#FFD781" under: advancedButton onClicked: { diff --git a/components/MenuButton.qml b/components/MenuButton.qml index 02b0d6d5..b587c975 100644 --- a/components/MenuButton.qml +++ b/components/MenuButton.qml @@ -123,8 +123,10 @@ Rectangle { Text { id: symbolText - anchors.centerIn: parent - font.pixelSize: 11 * scaleRatio + anchors.right: parent.right + anchors.rightMargin: 44 * scaleRatio + anchors.verticalCenter: parent.verticalCenter + font.pixelSize: 12 * scaleRatio font.bold: true color: button.checked || buttonArea.containsMouse ? "#FFFFFF" : dot.color visible: appWindow.ctrlPressed