summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAnatasof Wirapraja <anatasof.wirapraja@gmail.com>2023-02-27 13:00:48 +0700
committerAnatasof Wirapraja <anatasof.wirapraja@gmail.com>2023-02-27 13:00:48 +0700
commit1d05bfd0c1f74b7c6049acd143b32f8ce6b4bdce (patch)
treedebbc652aa60c468324ecdc42a6408795eafc5c0
parentb405dd4b39faab9356cf23e70e333eec81479cb4 (diff)
add ListInlineItem
-rw-r--r--ListInlineItem.ui.qml40
1 files changed, 40 insertions, 0 deletions
diff --git a/ListInlineItem.ui.qml b/ListInlineItem.ui.qml
new file mode 100644
index 0000000..0521d37
--- /dev/null
+++ b/ListInlineItem.ui.qml
@@ -0,0 +1,40 @@
+import QtQuick 2.15
+import QtQuick.Controls 2.15
+import QtQuick.Layouts 1.15
+
+RowLayout {
+ id:listInline
+ width: listInlineItem.width
+ height: listInlineItem.height
+ RowLayout {
+ id:listInlineItem
+ Rectangle {
+ radius: 100
+ color: "#4dfd7e14"
+ Layout.preferredHeight: 42
+ Layout.preferredWidth: 42
+ Layout.minimumHeight: 42
+ Layout.minimumWidth: 42
+
+ Image {
+ id: image
+ anchors.verticalCenter: parent.verticalCenter
+ source: "qrc:/qtquickplugin/images/template_image.png"
+ anchors.horizontalCenter: parent.horizontalCenter
+ fillMode: Image.PreserveAspectFit
+ Layout.preferredHeight: 12
+ Layout.preferredWidth: 12
+ Layout.minimumHeight: 12
+ Layout.minimumWidth: 12
+ }
+ }
+ Label {
+ id: instructorTitle
+ color: "#000000"
+ text: qsTr("List inline item metrics")
+ font.styleName: "Regular"
+ font.pointSize: 14
+ font.family: "roboto"
+ }
+ }
+} \ No newline at end of file