diff --git a/src/StatusQ/Controls/StatusBaseInput.qml b/src/StatusQ/Controls/StatusBaseInput.qml index 242270c5..1deec179 100644 --- a/src/StatusQ/Controls/StatusBaseInput.qml +++ b/src/StatusQ/Controls/StatusBaseInput.qml @@ -37,7 +37,7 @@ Item { property alias placeholderTextColor: placeholder.color property alias placeholderFont: placeholder.font - property real leftPadding: 16 + property real leftPadding: leftComponentLoader.item ? 8 : 16 property real rightPadding: 16 property real topPadding: 12 property real bottomPadding: 12 @@ -130,6 +130,7 @@ Item { clip: true Loader { + id: leftComponentLoader sourceComponent: { if (root.leftComponent) return root.leftComponent if (!root.leftIcon) return undefined