ui tweaks and ensuring we are getting data from model
This commit is contained in:
parent
42df2d7cde
commit
902bf9d1f2
1 changed files with 7 additions and 7 deletions
|
@ -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" */
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue