aboutsummaryrefslogtreecommitdiff
path: root/components
diff options
context:
space:
mode:
Diffstat (limited to 'components')
-rw-r--r--components/NetworkStatusItem.qml18
-rw-r--r--components/RemoteNodeList.qml2
-rw-r--r--components/Tooltip.qml4
3 files changed, 16 insertions, 8 deletions
diff --git a/components/NetworkStatusItem.qml b/components/NetworkStatusItem.qml
index 432b7a65..fefba1c1 100644
--- a/components/NetworkStatusItem.qml
+++ b/components/NetworkStatusItem.qml
@@ -80,7 +80,7 @@ Rectangle {
if(item.connected == Wallet.ConnectionStatus_Connected){
return 1
} else {
- return 0.5
+ MoneroComponents.Style.blackTheme ? 0.5 : 0.3
}
}
@@ -92,7 +92,7 @@ Rectangle {
source: {
if(appWindow.isMining) {
return "qrc:///images/miningxmr.png"
- } else if(item.connected == Wallet.ConnectionStatus_Connected) {
+ } else if(item.connected == Wallet.ConnectionStatus_Connected || !MoneroComponents.Style.blackTheme) {
return "qrc:///images/lightning.png"
} else {
return "qrc:///images/lightning-white.png"
@@ -126,8 +126,8 @@ Rectangle {
font.family: MoneroComponents.Style.fontMedium.name
font.bold: true
font.pixelSize: 13
- color: MoneroComponents.Style.dimmedFontColor
- opacity: MoneroComponents.Style.blackTheme ? 0.65 : 0.5
+ color: MoneroComponents.Style.blackTheme ? MoneroComponents.Style.dimmedFontColor : MoneroComponents.Style.defaultFontColor
+ opacity: MoneroComponents.Style.blackTheme ? 0.65 : 0.75
text: qsTr("Network status") + translationManager.emptyString
themeTransition: false
}
@@ -159,16 +159,18 @@ Rectangle {
}
}
- Text {
+ MoneroComponents.TextPlain {
anchors.left: statusTextVal.right
anchors.leftMargin: 16
anchors.verticalCenter: parent.verticalCenter
- color: refreshMouseArea.containsMouse ? MoneroComponents.Style.dimmedFontColor : MoneroComponents.Style.defaultFontColor
+ color: refreshMouseArea.containsMouse ? MoneroComponents.Style.defaultFontColor : MoneroComponents.Style.dimmedFontColor
font.family: FontAwesome.fontFamilySolid
font.pixelSize: 24
font.styleName: "Solid"
- opacity: iconItem.opacity * (refreshMouseArea.visible ? 1 : 0.5)
+ opacity: 0.85
text: FontAwesome.random
+ themeTransition: false
+ tooltip: qsTr("Switch to another public remote node") + translationManager.emptyString;
visible: (
!appWindow.disconnected &&
!persistentSettings.useRemoteNode &&
@@ -181,6 +183,8 @@ Rectangle {
hoverEnabled: true
cursorShape: Qt.PointingHandCursor
visible: true
+ onEntered: parent.tooltipPopup.open()
+ onExited: parent.tooltipPopup.close()
onClicked: {
const callback = function(result) {
refreshMouseArea.visible = true;
diff --git a/components/RemoteNodeList.qml b/components/RemoteNodeList.qml
index 0cb64692..61bc7dac 100644
--- a/components/RemoteNodeList.qml
+++ b/components/RemoteNodeList.qml
@@ -93,6 +93,7 @@ ColumnLayout {
MoneroComponents.TextPlain {
id: addressText
+ width: parent.width - trustedDaemonCheckMark.width
color: index === remoteNodesModel.selected ? MoneroComponents.Style.defaultFontColor : MoneroComponents.Style.dimmedFontColor
anchors.verticalCenter: parent.verticalCenter
anchors.left: parent.left
@@ -100,6 +101,7 @@ ColumnLayout {
font.pixelSize: 16
text: address
themeTransition: false
+ elide: Text.ElideMiddle
}
MoneroComponents.Label {
diff --git a/components/Tooltip.qml b/components/Tooltip.qml
index 30b50e6e..4709837e 100644
--- a/components/Tooltip.qml
+++ b/components/Tooltip.qml
@@ -95,9 +95,11 @@ Rectangle {
delay: 200
RowLayout {
+ Layout.maximumWidth: 350
+
Text {
id: tooltip
- Layout.maximumWidth: 350
+ width: contentWidth
color: MoneroComponents.Style.defaultFontColor
font.family: MoneroComponents.Style.fontRegular.name
font.pixelSize: 12