From 73028d31a1886b2c22a80d91a8482852fd554630 Mon Sep 17 00:00:00 2001 From: ꦌꦫꦶꦏ꧀ꦦꦿꦧꦮꦑꦩꦭ꧀ Date: Mon, 8 May 2023 10:43:55 +0800 Subject: Interface for setting title text --- Friends.ui.qml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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 } -- cgit v1.3