From a831dcddaece966da36beef3d9862c3a441ac6d8 Mon Sep 17 00:00:00 2001 From: Akira Ohgaki <akiraohgaki@gmail.com> Date: Wed, 1 Mar 2017 15:02:11 +0900 Subject: [PATCH] Wrap text --- app/qml/ui/Dialog.qml | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/app/qml/ui/Dialog.qml b/app/qml/ui/Dialog.qml index 4c0358f..d81a339 100644 --- a/app/qml/ui/Dialog.qml +++ b/app/qml/ui/Dialog.qml @@ -43,18 +43,25 @@ ColumnLayout { Label { id: primaryText text: "" - font.bold: true visible: text ? true : false + Layout.fillWidth: true + wrapMode: Text.WrapAnywhere + font.bold: true } Label { id: informativeText text: "" visible: text ? true : false + Layout.fillWidth: true + wrapMode: Text.WrapAnywhere } Label { id: detailedText text: "" visible: text ? true : false + Layout.fillWidth: true + wrapMode: Text.WrapAnywhere + font.pixelSize: 11 } Item { id: content -- GitLab