diff options
author | Anatasof Wirapraja <anatasof.wirapraja@gmail.com> | 2023-01-31 14:49:40 +0700 |
---|---|---|
committer | Anatasof Wirapraja <anatasof.wirapraja@gmail.com> | 2023-01-31 14:49:40 +0700 |
commit | 1df0abcc87bf259b0e82fbb9774417c3af78a852 (patch) | |
tree | 926861d548ed9f76b710af7516de5757191f16d6 /SignInFlickable.ui.qml | |
parent | 9ec1e61d6bbaab7aee95642c991c4aab3d83be78 (diff) |
add Rectangle to give background to email field
Diffstat (limited to 'SignInFlickable.ui.qml')
-rw-r--r-- | SignInFlickable.ui.qml | 31 |
1 files changed, 21 insertions, 10 deletions
diff --git a/SignInFlickable.ui.qml b/SignInFlickable.ui.qml index e52415d..02c323d 100644 --- a/SignInFlickable.ui.qml +++ b/SignInFlickable.ui.qml @@ -18,16 +18,27 @@ GridLayout { text: qsTr("Email address *") font.pixelSize: 15 } - RowLayout { - Image { - id: envelope - source: "Bootstrap/icons/envelope-fill.svg" - } - TextField { - id: email - placeholderText: qsTr("E-mail") - font.pixelSize: 15 - Layout.fillWidth: true + + Rectangle { + height: 50 + color: "#f5f7f9" + radius: 8 + border.width: 0 + layer.textureSize.height: 1 + Layout.fillWidth: true + + RowLayout { + Image { + id: envelope + source: "Bootstrap/icons/envelope-fill.svg" + } + TextField { + id: email + placeholderText: qsTr("E-mail") + font.pixelSize: 15 + Layout.fillWidth: true + Layout.fillHeight: true + } } } } |