1
0
Fork 0
mirror of https://git.jami.net/savoirfairelinux/jami-client-qt.git synced 2025-09-06 18:13:11 +02:00

commoncomponents: correct photo booth view geometry

Make sure that in wizard view, the spacing in the profile page is
correct.

Change-Id: I15cc9274b433532621495df4899578afb5efee92
This commit is contained in:
Ming Rui Zhang 2020-09-10 16:56:47 -04:00 committed by Andreas Traczyk
parent f0ad12c8fc
commit 3550806981
2 changed files with 8 additions and 2 deletions

View file

@ -16,6 +16,10 @@ ColumnLayout {
property int boothWidth: 224
readonly property int size: boothWidth +
buttonsRowLayout.height +
JamiTheme.preferredMarginSize / 2
signal imageAcquired
signal imageCleared
@ -49,6 +53,8 @@ ColumnLayout {
}
}
spacing: 0
JamiFileDialog{
id: importFromFileToAvatar_Dialog

View file

@ -87,8 +87,8 @@ Rectangle {
id: setAvatarWidget
Layout.alignment: Qt.AlignCenter
Layout.preferredWidth: JamiTheme.preferredFieldHeight + boothWidth
Layout.preferredHeight: JamiTheme.preferredFieldHeight + boothWidth
Layout.preferredWidth: size
Layout.preferredHeight: size
boothWidth: 200
}