Account, Receive, RemoteNodeList, SettingsNode: selection indicator in lists

This commit is contained in:
rating89us 2021-07-23 07:47:48 +02:00 committed by rating89us
parent b6682330a6
commit 7805430f4f
4 changed files with 29 additions and 2 deletions

View file

@ -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

View file

@ -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

View file

@ -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

View file

@ -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
}