diff options
author | Anatasof Wirapraja <anatasof.wirapraja@gmail.com> | 2019-09-30 11:52:34 +0700 |
---|---|---|
committer | Anatasof Wirapraja <anatasof.wirapraja@gmail.com> | 2019-09-30 11:52:34 +0700 |
commit | b6509cdf64798971ce905d2b7d49feacb1a0dfe2 (patch) | |
tree | 3e0d8c0099171529fdc971d915e2ff64fc748adb | |
parent | a78618b78bc41e2bf0789a96187a37d8cc240853 (diff) |
set `background`
-rw-r--r-- | features/TaskBriefForm.ui.qml | 52 |
1 files changed, 27 insertions, 25 deletions
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 |