Skip to content
Snippets Groups Projects
Commit e753dd50 authored by Capucine Berthet's avatar Capucine Berthet
Browse files

PasswordDialog: resolve display issue

GitLab: #1444

Change-Id: I248220b04b4343c73fdd55ce4de0a871aa89c4bc
parent 20c4081d
No related branches found
No related tags found
No related merge requests found
......@@ -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
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment