diff options
author | Nicolas Werner <nicolas.werner@hotmail.de> | 2023-06-19 21:33:10 +0200 |
---|---|---|
committer | Nicolas Werner <nicolas.werner@hotmail.de> | 2023-06-19 21:33:10 +0200 |
commit | 15ce0211da3f63b96424994dc803de46454dffd5 (patch) | |
tree | dd8fda6da73e24a3780732ef3bb93b8d38528d91 /resources | |
parent | More linter fixes (diff) | |
download | nheko-15ce0211da3f63b96424994dc803de46454dffd5.tar.xz |
Fix some sizes in layouts
Diffstat (limited to 'resources')
-rw-r--r-- | resources/qml/ImageButton.qml | 2 | ||||
-rw-r--r-- | resources/qml/voip/PlaceCall.qml | 4 |
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 |