diff --git a/src/commoncomponents/PhotoboothView.qml b/src/commoncomponents/PhotoboothView.qml
index 42d5b68166931a8c19e0cae88f054de165a86e62..c1bbf72bd3f39f56af736abd5f92c18f800da97a 100644
--- a/src/commoncomponents/PhotoboothView.qml
+++ b/src/commoncomponents/PhotoboothView.qml
@@ -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
 
diff --git a/src/wizardview/components/ProfilePage.qml b/src/wizardview/components/ProfilePage.qml
index 98f52c0c85cb0d22a10efad6ce7c54bb261ef7e1..780964ee46d46884440051084b3150394a73120a 100644
--- a/src/wizardview/components/ProfilePage.qml
+++ b/src/wizardview/components/ProfilePage.qml
@@ -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
         }