fix(StatusBaseInput): Corrects allignment of the placeholder text in the StatusBaseInput.

This commit is contained in:
Khushboo Mehta 2021-12-03 10:48:43 +01:00 committed by r4bbit.eth
parent 2f8f5f423b
commit 5a416aa1c9
1 changed files with 1 additions and 2 deletions

View File

@ -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;