From b6509cdf64798971ce905d2b7d49feacb1a0dfe2 Mon Sep 17 00:00:00 2001 From: Anatasof Wirapraja Date: Mon, 30 Sep 2019 11:52:34 +0700 Subject: set `background` --- features/TaskBriefForm.ui.qml | 52 ++++++++++++++++++++++--------------------- 1 file changed, 27 insertions(+), 25 deletions(-) (limited to 'features') diff --git a/features/TaskBriefForm.ui.qml b/features/TaskBriefForm.ui.qml index 2d4f789..8be2a83 100644 --- a/features/TaskBriefForm.ui.qml +++ b/features/TaskBriefForm.ui.qml @@ -12,6 +12,10 @@ Page { property alias ticketCreatedText: ticketCreatedText property alias ticketCreatedTimestamp: ticketCreatedTimestamp + background: Rectangle { + color: "#FFFFFF" + } + RowLayout { id: ticketSubjectLayout height: ticketSubject.height + 32 @@ -58,31 +62,29 @@ Page { fillMode: Image.PreserveAspectFit } } - - Text { - id: ticketCreator - text: qsTr("Username") - Layout.fillHeight: true - Layout.rightMargin: 16 - Layout.leftMargin: 16 - Layout.fillWidth: true - font.weight: Font.Medium - width: ticketCreator.width - font.family: "Work Sans" - verticalAlignment: Text.AlignVCenter - elide: Text.ElideRight - font.pixelSize: 14 - } - Text { - id: ticketCreatedText - text: qsTr("created this issue") - Layout.fillHeight: true - Layout.rightMargin: 16 - Layout.leftMargin: 16 - font.pixelSize: 14 - font.family: "Work Sans" - Layout.fillWidth: true - width: ticketCreatedText.width + RowLayout { + Text { + id: ticketCreator + text: qsTr("Username") + Layout.rightMargin: 0 + Layout.leftMargin: 16 + Layout.fillWidth: false + font.weight: Font.Medium + font.family: "Work Sans" + verticalAlignment: Text.AlignVCenter + elide: Text.ElideRight + font.pixelSize: 14 + } + Text { + id: ticketCreatedText + text: qsTr("created this issue") + Layout.fillHeight: true + Layout.rightMargin: 16 + Layout.leftMargin: 0 + font.pixelSize: 14 + font.family: "Work Sans" + Layout.fillWidth: false + } } Text { id: ticketCreatedTimestamp -- cgit v1.2.3