1
0
Fork 0
mirror of https://git.jami.net/savoirfairelinux/jami-client-qt.git synced 2025-07-23 08:55:26 +02:00

PasswordDialog: resolve display issue

GitLab: #1444

Change-Id: I248220b04b4343c73fdd55ce4de0a871aa89c4bc
This commit is contained in:
cberthet 2023-11-30 15:26:19 -05:00
parent 20c4081d88
commit e753dd509e

View file

@ -17,6 +17,7 @@
*/
import QtQuick
import QtQuick.Layouts
import QtQuick.Controls
import net.jami.Adapters 1.1
import net.jami.Constants 1.1
@ -76,6 +77,9 @@ BaseModalDialog {
button1Role: DialogButtonBox.ApplyRole
button1.enabled: purpose === PasswordDialog.SetPassword
button2.text: JamiStrings.cancel
button2Role: DialogButtonBox.RejectRole
button2.onClicked: close()
popupContent: ColumnLayout {
id: popupContentColumnLayout
@ -167,6 +171,7 @@ BaseModalDialog {
Layout.alignment: Qt.AlignHCenter
Layout.preferredHeight: visible ? 48 : 0
Layout.bottomMargin: JamiTheme.preferredMarginSize
Layout.fillWidth: true
visible: purpose === PasswordDialog.ChangePassword || purpose === PasswordDialog.SetPassword