1
0
Fork 0
mirror of https://git.jami.net/savoirfairelinux/jami-client-qt.git synced 2025-07-24 09:25:33 +02:00

CreateAccountPage: fix rendering problem

+ fix top margin for the error label in usernameTextEdit.
+ fix the info button margin when placeHolder text is active.

GitLab: #1060
Change-Id: I3ca5421c908a0b77c7c175af54a45d49aacf8f57
This commit is contained in:
Franck LAURENT 2023-04-05 15:24:07 -04:00 committed by Sébastien Blin
parent bb54f4527f
commit c454a85c25
2 changed files with 2 additions and 1 deletions

View file

@ -187,7 +187,7 @@ TextField {
width: suffixIcon.width
height: suffixIcon.height
anchors.right: suffixBisIcon.left
anchors.rightMargin: suffixBisIconSrc !== '' ? 5 : 0
anchors.rightMargin: suffixBisIconSrc !== '' ? 5 : root.isActive ? 0 : 20
anchors.verticalCenter: root.verticalCenter
anchors.verticalCenterOffset: -root.bottomPadding / 2
visible: !readOnly

View file

@ -244,6 +244,7 @@ Rectangle {
id: invalidLabel
Layout.alignment: Qt.AlignHCenter | Qt.AlignTop
Layout.topMargin: JamiTheme.wizardViewDescriptionMarginSize
visible: text.length !==0
Layout.preferredWidth: Math.min(440, root.width - JamiTheme.preferredMarginSize * 2)