From 9d2a85430d86dd5328283075a23873c0e6341611 Mon Sep 17 00:00:00 2001 From: Tomas Mizera Date: Mon, 2 Oct 2023 15:17:14 +0200 Subject: [PATCH] Fix text overflow in preview panel --- app/qml/form/PreviewPanel.qml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/app/qml/form/PreviewPanel.qml b/app/qml/form/PreviewPanel.qml index 691eede8f..1af636020 100644 --- a/app/qml/form/PreviewPanel.qml +++ b/app/qml/form/PreviewPanel.qml @@ -190,7 +190,7 @@ Item { Text { id: fieldName text: Name - width: root.width/2 + width: root.width / 2 font.pixelSize: InputStyle.fontPixelSizeNormal color: InputStyle.fontColorBright elide: Text.ElideRight @@ -199,6 +199,7 @@ Item { Text { id: fieldValue text: Value ? Value : "" + width: root.width / 2 - root.spacing font.pixelSize: InputStyle.fontPixelSizeNormal color: InputStyle.fontColor elide: Text.ElideRight