diff options
author | Nicolas Werner <nicolas.werner@hotmail.de> | 2023-10-26 16:43:09 +0200 |
---|---|---|
committer | Nicolas Werner <nicolas.werner@hotmail.de> | 2023-10-26 20:52:18 +0200 |
commit | 2b1c9af311749fe520edafaca8da8f603d6c10d2 (patch) | |
tree | 8003252cb2c52195ac89a36ad96dd8de47ac9c7d /resources/qml/voip/CallInviteBar.qml | |
parent | Merge pull request #1539 from Nheko-Reborn/issue1410 (diff) | |
download | nheko-2b1c9af311749fe520edafaca8da8f603d6c10d2.tar.xz |
More qml cleanups
Diffstat (limited to 'resources/qml/voip/CallInviteBar.qml')
-rw-r--r-- | resources/qml/voip/CallInviteBar.qml | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/resources/qml/voip/CallInviteBar.qml b/resources/qml/voip/CallInviteBar.qml index 419181ca..c2ce8066 100644 --- a/resources/qml/voip/CallInviteBar.qml +++ b/resources/qml/voip/CallInviteBar.qml @@ -38,8 +38,8 @@ Rectangle { anchors.leftMargin: 8 Avatar { - width: Nheko.avatarSize - height: Nheko.avatarSize + implicitWidth: Nheko.avatarSize + implicitHeight: Nheko.avatarSize url: CallManager.callPartyAvatarUrl.replace("mxc://", "image://MxcImage/") userid: CallManager.callParty displayName: CallManager.callPartyDisplayName @@ -72,8 +72,8 @@ Rectangle { ImageButton { Layout.rightMargin: 16 - width: 20 - height: 20 + Layout.preferredWidth: 20 + Layout.preferredHeight: 20 buttonTextColor: "#000000" image: ":/icons/icons/ui/settings.svg" hoverEnabled: true @@ -82,7 +82,7 @@ Rectangle { onClicked: { var dialog = devicesDialog.createObject(timelineRoot); dialog.open(); - timelineRoot.destroyOnClose(dialog); + timelineRoot.destroyOnClose(dialog); } } |