Commit 74a6e481 authored by Fabian Riethmayer's avatar Fabian Riethmayer

Small code changes in the addressbook example

parent f0fea02e
...@@ -69,10 +69,10 @@ Flickable { ...@@ -69,10 +69,10 @@ Flickable {
} }
} }
Label { Kirigami.Heading {
text: model.firstname + " " + model.lastname text: model.firstname + " " + model.lastname
color: "#fcfcfc" color: "#fcfcfc"
font.pointSize: 12 level: 1
} }
} }
...@@ -138,7 +138,8 @@ Flickable { ...@@ -138,7 +138,8 @@ Flickable {
} }
} }
Label { Kirigami.Heading {
level: 4
visible: typeof root.model.history !== "undefined" && root.model.history.count visible: typeof root.model.history !== "undefined" && root.model.history.count
text: "History" text: "History"
id: history id: history
......
...@@ -67,7 +67,7 @@ ColumnLayout { ...@@ -67,7 +67,7 @@ ColumnLayout {
Kirigami.FormLayout { Kirigami.FormLayout {
id: form id: form
width: root.width Layout.fillWidth: true
TextField { TextField {
Kirigami.FormData.label: "Firstname:" Kirigami.FormData.label: "Firstname:"
......
...@@ -26,6 +26,7 @@ Kirigami.OverlaySheet { ...@@ -26,6 +26,7 @@ Kirigami.OverlaySheet {
property var model; property var model;
Kirigami.Theme.colorSet: Kirigami.Theme.View Kirigami.Theme.colorSet: Kirigami.Theme.View
id: page id: page
Layout.fillWidth: true
background: Rectangle { background: Rectangle {
color: Kirigami.Theme.backgroundColor color: Kirigami.Theme.backgroundColor
......
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