Commit 6fbeee08 authored by camilo higuita's avatar camilo higuita

more quick fixes

parent d8d98a34
......@@ -17,11 +17,11 @@ Maui.Page
id: cardsView
anchors.fill: parent
// onItemClicked: linkClicked(cardsView.model.get(index))
holder.emoji: "qrc:/E-reading.png"
holder.isMask: false
holder.title : "No Books!"
holder.body: "Click here to save a new link"
holder.emojiSize: iconSizes.huge
// holder.emoji: "qrc:/E-reading.png"
// holder.isMask: false
// holder.title : "No Books!"
// holder.body: "Click here to save a new link"
// holder.emojiSize: iconSizes.huge
}
}
......@@ -111,19 +111,19 @@ ItemDelegate
}
Loader
{
id: bodyLoader
Layout.leftMargin: space.medium
Layout.bottomMargin: space.medium
Layout.rightMargin: space.medium
Layout.topMargin: title.visible ? 0 : space.medium
Layout.alignment: Qt.AlignLeft
Layout.fillHeight: true
Layout.fillWidth: true
Loader
{
id: bodyLoader
Layout.leftMargin: space.medium
Layout.bottomMargin: space.medium
Layout.rightMargin: space.medium
Layout.topMargin: title.visible ? 0 : space.medium
Layout.alignment: Qt.AlignLeft
Layout.fillHeight: true
Layout.fillWidth: true
sourceComponent: typeof model.body !== 'undefined' ? bodyComponent : undefined
}
sourceComponent: typeof model.body !== 'undefined' ? bodyComponent : undefined
}
Loader
......@@ -148,7 +148,6 @@ ItemDelegate
id: body
padding: 0
visible: typeof model.body !== 'undefined'
enabled: false
text: model.body ? model.body : ""
color: model.color ? Qt.darker(model.color, 3) : textColor
......@@ -156,7 +155,6 @@ ItemDelegate
textFormat : TextEdit.AutoText
font.pointSize: fontSizes.big
background: Rectangle
{
color: "transparent"
......
import QtQuick 2.9
import QtQuick.Controls 2.2
import org.kde.kirigami 2.2 as Kirigami
import org.kde.kirigami 2.7 as Kirigami
import org.kde.mauikit 1.0 as Maui
GridView
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment