better PreviewSlideListDelegate

This commit is contained in:
Chris Cochrun 2023-04-19 14:17:44 -05:00
parent 270cb67570
commit a02f55eb0b

View file

@ -8,7 +8,7 @@ import org.presenter 1.0
Item { Item {
id: root id: root
implicitHeight: Kirigami.Units.gridUnit * 6.5 implicitHeight: Kirigami.Units.gridUnit * 6.5
implicitWidth: Kirigami.Units.gridUnit * 10 implicitWidth: Kirigami.Units.gridUnit * 9
property bool showVidBG property bool showVidBG
Component.onCompleted: { Component.onCompleted: {
if (model.videoBackground != "") if (model.videoBackground != "")
@ -50,11 +50,10 @@ Item {
anchors.top: previewHighlight.bottom anchors.top: previewHighlight.bottom
anchors.left: previewHighlight.left anchors.left: previewHighlight.left
anchors.topMargin: Kirigami.Units.smallSpacing anchors.topMargin: Kirigami.Units.smallSpacing
anchors.leftMargin: Kirigami.Units.smallSpacing anchors.rightMargin: Kirigami.Units.smallSpacing * 2
elide: Text.ElideRight elide: Text.ElideRight
text: ServiceItemModel.getItem(serviceItemId).name text: ServiceItemModel.getItem(serviceItemId).name
font.bold: true font.bold: true
/* font.family: "Quicksand Bold" */
} }
MouseArea { MouseArea {