From 5fa310c9618bceb48b4104cc9008de19484c339c Mon Sep 17 00:00:00 2001 From: rating89us <45968869+rating89us@users.noreply.github.com> Date: Fri, 3 Sep 2021 13:39:03 +0200 Subject: [PATCH] LineEdit: fix eye button overlap on password field --- components/LineEdit.qml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/components/LineEdit.qml b/components/LineEdit.qml index bc42150a..03a00b97 100644 --- a/components/LineEdit.qml +++ b/components/LineEdit.qml @@ -218,7 +218,7 @@ ColumnLayout { Layout.preferredHeight: inputHeight leftPadding: item.inputPaddingLeft - rightPadding: (inlineButtons.width > 0 ? inlineButtons.width + inlineButtons.spacing : 0) + inputPaddingRight + rightPadding: (inlineButtons.width > 0 ? inlineButtons.width + inlineButtons.spacing : 0) + inputPaddingRight + (password || passwordLinked ? 45 : 0) topPadding: item.inputPaddingTop bottomPadding: item.inputPaddingBottom