From a874ba32e2faed5e7b720b6cdba7e98d3d8f41a3 Mon Sep 17 00:00:00 2001 From: Anatasof Wirapraja Date: Sun, 29 Sep 2019 21:49:49 +0700 Subject: declare `property alias` --- features/TaskBriefForm.ui.qml | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) (limited to 'features/TaskBriefForm.ui.qml') diff --git a/features/TaskBriefForm.ui.qml b/features/TaskBriefForm.ui.qml index b845f5d..24de122 100644 --- a/features/TaskBriefForm.ui.qml +++ b/features/TaskBriefForm.ui.qml @@ -6,6 +6,12 @@ import QtQuick.Layouts 1.12 Page { id: taskBriefComponents height: ticketSubjectLayout.height + ticketMetaLayout.height + property alias ticketSubject: ticketSubject + property alias userAvatar: userAvatar + property alias ticketCreator: ticketCreator + property alias ticketCreatedText: ticketCreatedText + property alias ticketCreatedTimestamp: ticketCreatedTimestamp + RowLayout { id: ticketSubjectLayout height: ticketSubject.height + 32 @@ -64,10 +70,10 @@ Page { width: ticketCreatedText.width } Text { - id: ticketCreated + id: ticketCreatedTimestamp text: qsTr("2017-07-25 14:05:30") Layout.rightMargin: 16 - width: ticketCreated.width + width: ticketCreatedTimestamp.width } } } -- cgit v1.2.3