diff --git a/resources/qml/ImageButton.qml b/resources/qml/ImageButton.qml index 84967ddb..ddc0b7d8 100644 --- a/resources/qml/ImageButton.qml +++ b/resources/qml/ImageButton.qml @@ -2,7 +2,7 @@ // // SPDX-License-Identifier: GPL-3.0-or-later -pragma ComponentBehavior +pragma ComponentBehavior: Bound import "./ui" import QtQuick 2.3 import QtQuick.Controls 2.3 diff --git a/resources/qml/voip/PlaceCall.qml b/resources/qml/voip/PlaceCall.qml index 2d4c46f8..c0724828 100644 --- a/resources/qml/voip/PlaceCall.qml +++ b/resources/qml/voip/PlaceCall.qml @@ -67,8 +67,8 @@ Popup { Avatar { Layout.rightMargin: cameraCombo.visible ? 16 : 64 - width: Nheko.avatarSize - height: Nheko.avatarSize + Layout.preferredWidth: Nheko.avatarSize + Layout.preferredHeight: Nheko.avatarSize url: room.roomAvatarUrl.replace("mxc://", "image://MxcImage/") displayName: room.roomName roomid: room.roomId