Fix some sizes in layouts

This commit is contained in:
Nicolas Werner 2023-06-19 21:33:10 +02:00
parent 95406b9c22
commit 15ce0211da
No known key found for this signature in database
GPG key ID: C8D75E610773F2D9
2 changed files with 3 additions and 3 deletions

View file

@ -2,7 +2,7 @@
// //
// SPDX-License-Identifier: GPL-3.0-or-later // SPDX-License-Identifier: GPL-3.0-or-later
pragma ComponentBehavior pragma ComponentBehavior: Bound
import "./ui" import "./ui"
import QtQuick 2.3 import QtQuick 2.3
import QtQuick.Controls 2.3 import QtQuick.Controls 2.3

View file

@ -67,8 +67,8 @@ Popup {
Avatar { Avatar {
Layout.rightMargin: cameraCombo.visible ? 16 : 64 Layout.rightMargin: cameraCombo.visible ? 16 : 64
width: Nheko.avatarSize Layout.preferredWidth: Nheko.avatarSize
height: Nheko.avatarSize Layout.preferredHeight: Nheko.avatarSize
url: room.roomAvatarUrl.replace("mxc://", "image://MxcImage/") url: room.roomAvatarUrl.replace("mxc://", "image://MxcImage/")
displayName: room.roomName displayName: room.roomName
roomid: room.roomId roomid: room.roomId