Members of the KDE Community are recommended to subscribe to the kde-community mailing list at https://mail.kde.org/mailman/listinfo/kde-community to allow them to participate in important discussions and receive other important announcements

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

more quick fixes

parent d8d98a34
...@@ -17,11 +17,11 @@ Maui.Page ...@@ -17,11 +17,11 @@ Maui.Page
id: cardsView id: cardsView
anchors.fill: parent anchors.fill: parent
// onItemClicked: linkClicked(cardsView.model.get(index)) // onItemClicked: linkClicked(cardsView.model.get(index))
holder.emoji: "qrc:/E-reading.png" // holder.emoji: "qrc:/E-reading.png"
holder.isMask: false // holder.isMask: false
holder.title : "No Books!" // holder.title : "No Books!"
holder.body: "Click here to save a new link" // holder.body: "Click here to save a new link"
holder.emojiSize: iconSizes.huge // holder.emojiSize: iconSizes.huge
} }
} }
...@@ -111,19 +111,19 @@ ItemDelegate ...@@ -111,19 +111,19 @@ ItemDelegate
} }
Loader Loader
{ {
id: bodyLoader id: bodyLoader
Layout.leftMargin: space.medium Layout.leftMargin: space.medium
Layout.bottomMargin: space.medium Layout.bottomMargin: space.medium
Layout.rightMargin: space.medium Layout.rightMargin: space.medium
Layout.topMargin: title.visible ? 0 : space.medium Layout.topMargin: title.visible ? 0 : space.medium
Layout.alignment: Qt.AlignLeft Layout.alignment: Qt.AlignLeft
Layout.fillHeight: true Layout.fillHeight: true
Layout.fillWidth: true Layout.fillWidth: true
sourceComponent: typeof model.body !== 'undefined' ? bodyComponent : undefined
}
sourceComponent: typeof model.body !== 'undefined' ? bodyComponent : undefined
}
Loader Loader
...@@ -148,7 +148,6 @@ ItemDelegate ...@@ -148,7 +148,6 @@ ItemDelegate
id: body id: body
padding: 0 padding: 0
visible: typeof model.body !== 'undefined' visible: typeof model.body !== 'undefined'
enabled: false enabled: false
text: model.body ? model.body : "" text: model.body ? model.body : ""
color: model.color ? Qt.darker(model.color, 3) : textColor color: model.color ? Qt.darker(model.color, 3) : textColor
...@@ -156,7 +155,6 @@ ItemDelegate ...@@ -156,7 +155,6 @@ ItemDelegate
textFormat : TextEdit.AutoText textFormat : TextEdit.AutoText
font.pointSize: fontSizes.big font.pointSize: fontSizes.big
background: Rectangle background: Rectangle
{ {
color: "transparent" color: "transparent"
......
import QtQuick 2.9 import QtQuick 2.9
import QtQuick.Controls 2.2 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 import org.kde.mauikit 1.0 as Maui
GridView 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