From 7805430f4f8a5d4c4db697d734486fbdae5fa2df Mon Sep 17 00:00:00 2001 From: rating89us <45968869+rating89us@users.noreply.github.com> Date: Fri, 23 Jul 2021 07:47:48 +0200 Subject: [PATCH] Account, Receive, RemoteNodeList, SettingsNode: selection indicator in lists --- components/RemoteNodeList.qml | 9 +++++++++ pages/Account.qml | 9 +++++++++ pages/Receive.qml | 9 +++++++++ pages/settings/SettingsNode.qml | 4 ++-- 4 files changed, 29 insertions(+), 2 deletions(-) diff --git a/components/RemoteNodeList.qml b/components/RemoteNodeList.qml index ffbce57d..0cb64692 100644 --- a/components/RemoteNodeList.qml +++ b/components/RemoteNodeList.qml @@ -61,6 +61,15 @@ ColumnLayout { Layout.fillWidth: true color: itemMouseArea.containsMouse || trustedDaemonCheckMark.labelMouseArea.containsMouse || index === remoteNodesModel.selected ? MoneroComponents.Style.titleBarButtonHoverColor : "transparent" + Rectangle { + visible: index === remoteNodesModel.selected + Layout.fillHeight: true + anchors.top: parent.top + anchors.bottom: parent.bottom + color: "darkgrey" + width: 2 + } + Rectangle { color: MoneroComponents.Style.appWindowBorderColor anchors.right: parent.right diff --git a/pages/Account.qml b/pages/Account.qml index 7c9f0f17..36cd4a09 100644 --- a/pages/Account.qml +++ b/pages/Account.qml @@ -196,6 +196,15 @@ Rectangle { Layout.fillWidth: true color: itemMouseArea.containsMouse || index === currentAccountIndex ? MoneroComponents.Style.titleBarButtonHoverColor : "transparent" + Rectangle { + visible: index === currentAccountIndex + Layout.fillHeight: true + anchors.top: parent.top + anchors.bottom: parent.bottom + color: "darkgrey" + width: 2 + } + Rectangle { color: MoneroComponents.Style.appWindowBorderColor anchors.right: parent.right diff --git a/pages/Receive.qml b/pages/Receive.qml index fdc9cf10..68ef5011 100644 --- a/pages/Receive.qml +++ b/pages/Receive.qml @@ -286,6 +286,15 @@ Rectangle { Layout.fillWidth: true color: itemMouseArea.containsMouse || index === appWindow.current_subaddress_table_index ? MoneroComponents.Style.titleBarButtonHoverColor : "transparent" + Rectangle { + visible: index === appWindow.current_subaddress_table_index + Layout.fillHeight: true + anchors.top: parent.top + anchors.bottom: parent.bottom + color: "darkgrey" + width: 2 + } + Rectangle{ anchors.right: parent.right anchors.left: parent.left diff --git a/pages/settings/SettingsNode.qml b/pages/settings/SettingsNode.qml index 32ce336d..ab3d49f1 100644 --- a/pages/settings/SettingsNode.qml +++ b/pages/settings/SettingsNode.qml @@ -72,7 +72,7 @@ Rectangle{ Layout.fillHeight: true anchors.top: parent.top anchors.bottom: parent.bottom - color: MoneroComponents.Style.blackTheme ? "white" : "darkgrey" + color: "darkgrey" width: 2 } @@ -165,7 +165,7 @@ Rectangle{ Layout.fillHeight: true anchors.top: parent.top anchors.bottom: parent.bottom - color: MoneroComponents.Style.blackTheme ? "white" : "darkgrey" + color: "darkgrey" width: 2 }