From 3ddd38f58ee20df4ecd678a5a12fae61d9f88bc7 Mon Sep 17 00:00:00 2001 From: MrMirDan Date: Tue, 24 Mar 2026 13:12:03 +0200 Subject: [PATCH] fix: textField image become bigger when error text visible --- client/ui/qml/Controls2/TextFieldWithHeaderType.qml | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/client/ui/qml/Controls2/TextFieldWithHeaderType.qml b/client/ui/qml/Controls2/TextFieldWithHeaderType.qml index 897584303..006cb0ef7 100644 --- a/client/ui/qml/Controls2/TextFieldWithHeaderType.qml +++ b/client/ui/qml/Controls2/TextFieldWithHeaderType.qml @@ -188,11 +188,10 @@ Item { leftImageSource: root.buttonImageSource anchors.top: content.top - anchors.bottom: content.bottom anchors.right: content.right - height: content.implicitHeight - width: content.implicitHeight + height: root.errorText !== "" ? content.implicitHeight - errorField.height - 5: content.implicitHeight + width: root.errorText !== "" ? content.implicitHeight - errorField.height - 5: content.implicitHeight squareLeftSide: true clickedFunc: function() {