fix(StatusBaseInput): Corrects allignment of the placeholder text in the StatusBaseInput.
This commit is contained in:
parent
b637cc532e
commit
7dfd8260a9
|
@ -142,12 +142,11 @@ Item {
|
||||||
return clearable ? clearButtonLoader.width + 12 :
|
return clearable ? clearButtonLoader.width + 12 :
|
||||||
(statusIcon.visible && !leftIcon) || !!statusBaseInput.component ? 8 : 0
|
(statusIcon.visible && !leftIcon) || !!statusBaseInput.component ? 8 : 0
|
||||||
}
|
}
|
||||||
anchors.topMargin: statusBaseInput.topPadding
|
|
||||||
anchors.bottomMargin: statusBaseInput.bottomPadding
|
|
||||||
contentWidth: edit.paintedWidth
|
contentWidth: edit.paintedWidth
|
||||||
contentHeight: edit.paintedHeight
|
contentHeight: edit.paintedHeight
|
||||||
boundsBehavior: Flickable.StopAtBounds
|
boundsBehavior: Flickable.StopAtBounds
|
||||||
QC.ScrollBar.vertical: QC.ScrollBar { interactive: multiline; enabled: multiline }
|
QC.ScrollBar.vertical: QC.ScrollBar { interactive: multiline; enabled: multiline }
|
||||||
|
clip: true
|
||||||
function ensureVisible(r) {
|
function ensureVisible(r) {
|
||||||
if (contentX >= r.x)
|
if (contentX >= r.x)
|
||||||
contentX = r.x;
|
contentX = r.x;
|
||||||
|
|
Loading…
Reference in New Issue