diff options
author | ꦌꦫꦶꦏ꧀ꦦꦿꦧꦮꦑꦩꦭ꧀ <erik@darapsa.co.id> | 2023-05-08 10:43:55 +0800 |
---|---|---|
committer | ꦌꦫꦶꦏ꧀ꦦꦿꦧꦮꦑꦩꦭ꧀ <erik@darapsa.co.id> | 2023-05-08 10:43:55 +0800 |
commit | 73028d31a1886b2c22a80d91a8482852fd554630 (patch) | |
tree | cb92f30777422869272493c08f124f73dcf46397 | |
parent | 3d09c490431230050fb931da01adaebcb5bccb20 (diff) |
Interface for setting title text
-rw-r--r-- | Friends.ui.qml | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/Friends.ui.qml b/Friends.ui.qml index ff4b723..a6a2428 100644 --- a/Friends.ui.qml +++ b/Friends.ui.qml @@ -4,6 +4,7 @@ import QtQuick.Layouts 1.15 import Bootstrap 5.3 Flickable { + property string titleText: qsTr("Friends") contentHeight: container.height + 28 ColumnLayout { @@ -18,7 +19,7 @@ Flickable { } Label { - text: qsTr("Friends") + text: titleText Bootstrap.heading: 2 Layout.bottomMargin: 28 } |