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