fix(StatusBaseInput): added left margin between text and left component (#830)

Needed for https://github.com/status-im/status-desktop/issues/6730
This commit is contained in:
Alexandra Betouni 2022-08-04 18:03:33 +03:00 committed by GitHub
parent a563687bf5
commit 3ac0187923
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 0 deletions

View File

@ -327,6 +327,7 @@ Item {
id: flick id: flick
Layout.fillWidth: true Layout.fillWidth: true
Layout.fillHeight: true Layout.fillHeight: true
Layout.leftMargin: !!leftComponentLoader.item ? 8 : 0
Layout.topMargin: root.topPadding Layout.topMargin: root.topPadding
Layout.bottomMargin: root.bottomPadding Layout.bottomMargin: root.bottomPadding
contentWidth: edit.paintedWidth contentWidth: edit.paintedWidth