1
0
Fork 0
mirror of https://git.jami.net/savoirfairelinux/jami-client-qt.git synced 2025-04-22 06:02:03 +02:00

ManageAccountPage: no bug on view when resize the view

Gitlab: #886

Change-Id: Ib3d260271d951a16b63db1ac4a0c3c29a4d87f52
This commit is contained in:
Xavier Jouslin de Noray 2023-05-23 13:46:52 -04:00 committed by Sébastien Blin
parent 388ad92d96
commit ad4d7aecc3
2 changed files with 12 additions and 12 deletions

View file

@ -92,7 +92,7 @@ ListSelectionView {
signal stopBooth signal stopBooth
initialItem: ManageAccountPage {} initialItem: viewNode.resources["ManageAccountPage"]
onCurrentIndexChanged: { onCurrentIndexChanged: {
switch (currentIndex) { switch (currentIndex) {

View file

@ -47,14 +47,14 @@ SettingsPageBase {
ColumnLayout { ColumnLayout {
id: enableAccount id: enableAccount
width: parent.width Layout.fillWidth: true
spacing: JamiTheme.settingsCategorySpacing spacing: JamiTheme.settingsCategorySpacing
Text { Text {
id: enableAccountTitle id: enableAccountTitle
Layout.alignment: Qt.AlignLeft Layout.alignment: Qt.AlignLeft
Layout.preferredWidth: parent.width Layout.fillWidth: true
text: JamiStrings.enableAccountSettingsTitle text: JamiStrings.enableAccountSettingsTitle
color: JamiTheme.textColor color: JamiTheme.textColor
@ -70,7 +70,7 @@ SettingsPageBase {
id: accountEnableSwitch id: accountEnableSwitch
Layout.alignment: Qt.AlignLeft Layout.alignment: Qt.AlignLeft
Layout.preferredWidth: parent.width Layout.fillWidth: true
labelText: JamiStrings.enableAccountDescription labelText: JamiStrings.enableAccountDescription
widthOfSwitch: 60 widthOfSwitch: 60
@ -84,7 +84,7 @@ SettingsPageBase {
ColumnLayout { ColumnLayout {
id: userIdentity id: userIdentity
width: parent.width Layout.fillWidth: true
spacing: JamiTheme.settingsCategorySpacing spacing: JamiTheme.settingsCategorySpacing
visible: isSIP visible: isSIP
@ -92,7 +92,7 @@ SettingsPageBase {
id: userIdentityTitle id: userIdentityTitle
Layout.alignment: Qt.AlignLeft Layout.alignment: Qt.AlignLeft
Layout.preferredWidth: parent.width Layout.fillWidth: true
text: JamiStrings.identity text: JamiStrings.identity
color: JamiTheme.textColor color: JamiTheme.textColor
@ -115,7 +115,7 @@ SettingsPageBase {
ColumnLayout { ColumnLayout {
id: jamiIdentity id: jamiIdentity
width: parent.width Layout.fillWidth: true
visible: !isSIP visible: !isSIP
spacing: JamiTheme.settingsCategorySpacing spacing: JamiTheme.settingsCategorySpacing
@ -123,7 +123,7 @@ SettingsPageBase {
id: jamiIdentityTitle id: jamiIdentityTitle
Layout.alignment: Qt.AlignLeft Layout.alignment: Qt.AlignLeft
Layout.preferredWidth: parent.width Layout.fillWidth: true
text: JamiStrings.jamiIdentity text: JamiStrings.jamiIdentity
color: JamiTheme.textColor color: JamiTheme.textColor
horizontalAlignment: Text.AlignLeft horizontalAlignment: Text.AlignLeft
@ -148,7 +148,7 @@ SettingsPageBase {
id: jamiIdentifierDescription id: jamiIdentifierDescription
Layout.alignment: Qt.AlignLeft Layout.alignment: Qt.AlignLeft
Layout.preferredWidth: parent.width Layout.fillWidth: true
text: JamiStrings.usernameAccountDescription text: JamiStrings.usernameAccountDescription
color: JamiTheme.textColor color: JamiTheme.textColor
@ -165,7 +165,7 @@ SettingsPageBase {
ColumnLayout { ColumnLayout {
id: encryptAccount id: encryptAccount
width: parent.width Layout.fillWidth: true
visible: !isSIP && CurrentAccount.managerUri === "" visible: !isSIP && CurrentAccount.managerUri === ""
spacing: JamiTheme.settingsCategorySpacing spacing: JamiTheme.settingsCategorySpacing
@ -173,7 +173,7 @@ SettingsPageBase {
id: encryptTitle id: encryptTitle
Layout.alignment: Qt.AlignLeft Layout.alignment: Qt.AlignLeft
Layout.preferredWidth: parent.width Layout.fillWidth: true
text: JamiStrings.encryptTitle text: JamiStrings.encryptTitle
color: JamiTheme.textColor color: JamiTheme.textColor
@ -189,7 +189,7 @@ SettingsPageBase {
id: encryptDescription id: encryptDescription
Layout.alignment: Qt.AlignLeft Layout.alignment: Qt.AlignLeft
Layout.preferredWidth: parent.width Layout.fillWidth: true
text: JamiStrings.ecryptAccountDescription text: JamiStrings.ecryptAccountDescription
color: JamiTheme.textColor color: JamiTheme.textColor