From 5a416aa1c912d9553b84ed80e70033de6edb4aa0 Mon Sep 17 00:00:00 2001 From: Khushboo Mehta Date: Fri, 3 Dec 2021 10:48:43 +0100 Subject: [PATCH] fix(StatusBaseInput): Corrects allignment of the placeholder text in the StatusBaseInput. --- src/StatusQ/Controls/StatusBaseInput.qml | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/StatusQ/Controls/StatusBaseInput.qml b/src/StatusQ/Controls/StatusBaseInput.qml index 016ecaad..7a649c2e 100644 --- a/src/StatusQ/Controls/StatusBaseInput.qml +++ b/src/StatusQ/Controls/StatusBaseInput.qml @@ -142,12 +142,11 @@ Item { return clearable ? clearButtonLoader.width + 12 : (statusIcon.visible && !leftIcon) || !!statusBaseInput.component ? 8 : 0 } - anchors.topMargin: statusBaseInput.topPadding - anchors.bottomMargin: statusBaseInput.bottomPadding contentWidth: edit.paintedWidth contentHeight: edit.paintedHeight boundsBehavior: Flickable.StopAtBounds QC.ScrollBar.vertical: QC.ScrollBar { interactive: multiline; enabled: multiline } + clip: true function ensureVisible(r) { if (contentX >= r.x) contentX = r.x;