fix(CollectibleView): Updated UI details according to new design

Radius, background color and cursor shape updated.

Part of #10606
This commit is contained in:
Noelia 2023-05-11 19:12:22 +02:00 committed by Noelia
parent e1d05eaafc
commit 9277392dd4
1 changed files with 4 additions and 5 deletions

View File

@ -27,10 +27,8 @@ Control {
implicitWidth: 176
background: Rectangle {
radius: 18
border.width: 1
border.color: Theme.palette.primaryColor1
color: Theme.palette.indirectColor3
radius: 8
color: Theme.palette.baseColor2
visible: !root.isLoading && mouse.containsMouse
}
@ -44,7 +42,7 @@ Control {
Layout.margins: Style.current.halfPadding
Layout.fillWidth: true
Layout.preferredHeight: width
radius: 12
radius: 8
mediaUrl: root.mediaUrl
mediaType: root.mediaType
fallbackImageUrl: root.fallbackImageUrl
@ -112,6 +110,7 @@ Control {
id: mouse
anchors.fill: parent
hoverEnabled: true
cursorShape: Qt.PointingHandCursor
onClicked: {
if (!root.isLoading) {
root.clicked()