diff --git a/app/qml/ui/Dialog.qml b/app/qml/ui/Dialog.qml
index 348716b662eefa1a8437e87d22dc2228f60b41d8..fffcf7f942119b2a17f9025d017d9ccff1b888ac 100644
--- a/app/qml/ui/Dialog.qml
+++ b/app/qml/ui/Dialog.qml
@@ -32,8 +32,8 @@ ColumnLayout {
         Image {
             id: icon
             source: ""
-            width: 32
-            height: width
+            Layout.implicitWidth: 32
+            Layout.implicitHeight: 32
             visible: source.toString() ? true : false
         }
         ColumnLayout {