separated game card into it's own .qml
This commit is contained in:
@@ -0,0 +1,24 @@
|
||||
import QtQuick
|
||||
|
||||
Item {
|
||||
id: root
|
||||
|
||||
property bool highlighted: false
|
||||
|
||||
width: 120
|
||||
height: 180
|
||||
|
||||
scale: highlighted ? 1.10 : 1.0
|
||||
|
||||
Behavior on scale {
|
||||
NumberAnimation {
|
||||
duration: 120
|
||||
easing.type: Easing.OutCubic
|
||||
}
|
||||
}
|
||||
|
||||
Rectangle {
|
||||
anchors.fill: parent
|
||||
color: "white"
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user