Improve hover behaviour, make font configurable, adjust overview
This commit is contained in:
@@ -47,6 +47,7 @@ Item {
|
||||
Behavior on x {NumberAnimation {duration: 300; easing.type: Easing.OutQuint}}
|
||||
focus: true
|
||||
font.pixelSize: 20
|
||||
font.family: root.font
|
||||
color: "white"
|
||||
cursorDelegate: Item {}
|
||||
onCursorPositionChanged: cursorPosition = text.length
|
||||
@@ -156,6 +157,7 @@ Item {
|
||||
Text {
|
||||
anchors.horizontalCenter: parent.horizontalCenter
|
||||
font.pixelSize: 64
|
||||
font.family: root.font
|
||||
text: modelData.emoji ?? ""
|
||||
color: "white"
|
||||
}
|
||||
@@ -168,6 +170,7 @@ Item {
|
||||
text: modelData.name
|
||||
color: "white"
|
||||
font.pixelSize: 16
|
||||
font.family: root.font
|
||||
horizontalAlignment: Text.AlignHCenter
|
||||
elide: Text.ElideRight
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user