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:
parent
20c4081d88
commit
e753dd509e
1 changed files with 5 additions and 0 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Reference in a new issue