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 @@ ...@@ -17,6 +17,7 @@
*/ */
import QtQuick import QtQuick
import QtQuick.Layouts import QtQuick.Layouts
import QtQuick.Controls
import net.jami.Adapters 1.1 import net.jami.Adapters 1.1
import net.jami.Constants 1.1 import net.jami.Constants 1.1
...@@ -76,6 +77,9 @@ BaseModalDialog { ...@@ -76,6 +77,9 @@ BaseModalDialog {
button1Role: DialogButtonBox.ApplyRole button1Role: DialogButtonBox.ApplyRole
button1.enabled: purpose === PasswordDialog.SetPassword button1.enabled: purpose === PasswordDialog.SetPassword
button2.text: JamiStrings.cancel
button2Role: DialogButtonBox.RejectRole
button2.onClicked: close()
popupContent: ColumnLayout { popupContent: ColumnLayout {
id: popupContentColumnLayout id: popupContentColumnLayout
...@@ -167,6 +171,7 @@ BaseModalDialog { ...@@ -167,6 +171,7 @@ BaseModalDialog {
Layout.alignment: Qt.AlignHCenter Layout.alignment: Qt.AlignHCenter
Layout.preferredHeight: visible ? 48 : 0 Layout.preferredHeight: visible ? 48 : 0
Layout.bottomMargin: JamiTheme.preferredMarginSize
Layout.fillWidth: true Layout.fillWidth: true
visible: purpose === PasswordDialog.ChangePassword || purpose === PasswordDialog.SetPassword visible: purpose === PasswordDialog.ChangePassword || purpose === PasswordDialog.SetPassword
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment