diff --git a/src/app/mainview/components/AccountComboBox.qml b/src/app/mainview/components/AccountComboBox.qml
index e8a6f8e2bc06ca7dbc75ca7497c95b5468ed4e33..6fa06f731951002fdf8564d6c979a7f73f296417 100644
--- a/src/app/mainview/components/AccountComboBox.qml
+++ b/src/app/mainview/components/AccountComboBox.qml
@@ -45,7 +45,7 @@ Label {
         anchors.fill: parent
 
         color: JamiTheme.backgroundColor
-        Behavior on color  {
+        Behavior on color {
             ColorAnimation {
                 duration: JamiTheme.shortFadeDuration
             }
@@ -88,7 +88,6 @@ Label {
 
                 spacing: 10
 
-
                 Avatar {
                     id: avatar
                     objectName: "accountComboBoxAvatar"
@@ -147,7 +146,6 @@ Label {
 
             spacing: 10
 
-            Layout.preferredWidth: childrenRect.width
             Layout.preferredHeight: parent.height
 
             JamiPushButton {