summaryrefslogtreecommitdiff
path: root/ListInlineItem.ui.qml
diff options
context:
space:
mode:
Diffstat (limited to 'ListInlineItem.ui.qml')
-rw-r--r--ListInlineItem.ui.qml12
1 files changed, 10 insertions, 2 deletions
diff --git a/ListInlineItem.ui.qml b/ListInlineItem.ui.qml
index 324327d..6f623e7 100644
--- a/ListInlineItem.ui.qml
+++ b/ListInlineItem.ui.qml
@@ -1,6 +1,8 @@
import QtQuick 2.15
import QtQuick.Controls 2.15
import QtQuick.Layouts 1.15
+import QtGraphicalEffects 1.12
+
RowLayout {
id:listInline
@@ -17,15 +19,21 @@ RowLayout {
Layout.minimumWidth: 42
Image {
- id: image
+ id: inlineItemIcon
anchors.verticalCenter: parent.verticalCenter
- source: "qrc:/qtquickplugin/images/template_image.png"
+ source: "Material/svg/filled/school.svg"
anchors.horizontalCenter: parent.horizontalCenter
fillMode: Image.PreserveAspectFit
Layout.preferredHeight: 12
Layout.preferredWidth: 12
Layout.minimumHeight: 12
Layout.minimumWidth: 12
+
+ ColorOverlay{
+ anchors.fill: inlineItemIcon
+ source: inlineItemIcon
+ color: "#fd7e14"
+ }
}
}
Label {