Fixes misaligned symbols/shortcuts and changes Shared RingDB shortcut to 'A'

This commit is contained in:
Sander Ferdinand 2018-04-05 08:30:51 +02:00
parent 76a105261e
commit 39ca338f96
2 changed files with 5 additions and 3 deletions

View file

@ -476,7 +476,7 @@ Rectangle {
anchors.left: parent.left anchors.left: parent.left
anchors.right: parent.right anchors.right: parent.right
text: qsTr("Shared RingDB") + translationManager.emptyString text: qsTr("Shared RingDB") + translationManager.emptyString
symbol: qsTr("S") + translationManager.emptyString symbol: qsTr("A") + translationManager.emptyString
dotColor: "#FFD781" dotColor: "#FFD781"
under: advancedButton under: advancedButton
onClicked: { onClicked: {

View file

@ -123,8 +123,10 @@ Rectangle {
Text { Text {
id: symbolText id: symbolText
anchors.centerIn: parent anchors.right: parent.right
font.pixelSize: 11 * scaleRatio anchors.rightMargin: 44 * scaleRatio
anchors.verticalCenter: parent.verticalCenter
font.pixelSize: 12 * scaleRatio
font.bold: true font.bold: true
color: button.checked || buttonArea.containsMouse ? "#FFFFFF" : dot.color color: button.checked || buttonArea.containsMouse ? "#FFFFFF" : dot.color
visible: appWindow.ctrlPressed visible: appWindow.ctrlPressed