ui tweaks and ensuring we are getting data from model

This commit is contained in:
Chris Cochrun 2023-01-20 14:20:10 -06:00
parent 42df2d7cde
commit 902bf9d1f2

View file

@ -28,13 +28,13 @@ Item {
anchors.centerIn: parent anchors.centerIn: parent
implicitWidth: height / 9 * 16 implicitWidth: height / 9 * 16
implicitHeight: parent.height - Kirigami.Units.smallSpacing * 2 implicitHeight: parent.height - Kirigami.Units.smallSpacing * 2
textSize: width / 4 textSize: model.fontSize
itemType: type itemType: model.type
imageSource: imageBackground imageSource: model.imageBackground
videoSource: videoBackground videoSource: model.videoBackground
audioSource: "" audioSource: ""
chosenFont: font chosenFont: model.font
text: text text: model.text
pdfIndex: slideIndex pdfIndex: slideIndex
preview: true preview: true
editMode: true editMode: true
@ -47,7 +47,7 @@ Item {
width: parent.width * 7 width: parent.width * 7
anchors.top: previewHighlight.bottom anchors.top: previewHighlight.bottom
/* anchors.leftMargin: Kirigami.Units.smallSpacing * 8 */ /* anchors.leftMargin: Kirigami.Units.smallSpacing * 8 */
anchors.topMargin: 5 anchors.topMargin: Kirigami.Units.smallSpacing * 3
elide: Text.ElideRight elide: Text.ElideRight
text: ServiceItemModel.getItem(serviceItemId).name text: ServiceItemModel.getItem(serviceItemId).name
/* font.family: "Quicksand Bold" */ /* font.family: "Quicksand Bold" */