fix(@desktop/wallet): Dark mode - hovering the items of the account selector do not highlight the items.

This works fine with other elements such as Network selector or token selector.
This commit is contained in:
Khushboo-dev-cpp 2025-02-10 12:15:39 +01:00 committed by Khushboo-dev-cpp
parent edbe51b13e
commit 99e439a0ef

View File

@ -2,6 +2,7 @@ import QtQuick 2.15
import QtQuick.Controls 2.15 import QtQuick.Controls 2.15
import QtQuick.Layouts 1.15 import QtQuick.Layouts 1.15
import QtQml 2.15 import QtQml 2.15
import QtGraphicalEffects 1.15
import StatusQ 0.1 import StatusQ 0.1
import StatusQ.Controls 0.1 import StatusQ.Controls 0.1
@ -53,6 +54,20 @@ StatusComboBox {
popupContentItemObjectName: "accountSelectorList" popupContentItemObjectName: "accountSelectorList"
control.popup.width: 430 control.popup.width: 430
control.popup.background: Rectangle {
radius: Theme.radius
color: Theme.palette.background
border.color: Theme.palette.border
layer.enabled: true
layer.effect: DropShadow {
verticalOffset: 3
radius: 8
samples: 15
fast: true
cached: true
color: "#22000000"
}
}
control.valueRole: "address" control.valueRole: "address"
control.textRole: "name" control.textRole: "name"