WIP: Add word wrap #22
1 changed files with 6 additions and 0 deletions
|
|
@ -35,6 +35,7 @@ Kirigami.ApplicationWindow {
|
||||||
component ModCardDelegate: Kirigami.AbstractCard {
|
component ModCardDelegate: Kirigami.AbstractCard {
|
||||||
required property QMod mod
|
required property QMod mod
|
||||||
|
|
||||||
|
id: card
|
||||||
showClickFeedback: true
|
showClickFeedback: true
|
||||||
onClicked: pageStack.push(Qt.resolvedUrl("ModPage.qml"), {
|
onClicked: pageStack.push(Qt.resolvedUrl("ModPage.qml"), {
|
||||||
mod: mod
|
mod: mod
|
||||||
|
|
@ -87,6 +88,11 @@ Kirigami.ApplicationWindow {
|
||||||
id: labelArea
|
id: labelArea
|
||||||
anchors.fill: parent
|
anchors.fill: parent
|
||||||
hoverEnabled: true
|
hoverEnabled: true
|
||||||
|
// For some reason I can't connect the pressed signals, so there's no feedback for that
|
||||||
|
// Whoops
|
||||||
|
Component.onCompleted: {
|
||||||
|
clicked.connect(card.clicked)
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
Kirigami.Separator {
|
Kirigami.Separator {
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue