mirror of
https://github.com/Nheko-Reborn/nheko.git
synced 2024-11-25 12:38:48 +03:00
Fix some sizes in layouts
This commit is contained in:
parent
95406b9c22
commit
15ce0211da
2 changed files with 3 additions and 3 deletions
|
@ -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
|
||||||
|
|
|
@ -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
|
||||||
|
|
Loading…
Reference in a new issue