summary refs log tree commit diff
path: root/resources/qml
diff options
context:
space:
mode:
authorNicolas Werner <nicolas.werner@hotmail.de>2023-06-19 21:33:10 +0200
committerNicolas Werner <nicolas.werner@hotmail.de>2023-06-19 21:33:10 +0200
commit15ce0211da3f63b96424994dc803de46454dffd5 (patch)
treedd8fda6da73e24a3780732ef3bb93b8d38528d91 /resources/qml
parentMore linter fixes (diff)
downloadnheko-15ce0211da3f63b96424994dc803de46454dffd5.tar.xz
Fix some sizes in layouts
Diffstat (limited to 'resources/qml')
-rw-r--r--resources/qml/ImageButton.qml2
-rw-r--r--resources/qml/voip/PlaceCall.qml4
2 files changed, 3 insertions, 3 deletions
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