From 8325a6ef519b3daca1c177a750f124f394853f56 Mon Sep 17 00:00:00 2001 From: Ming Rui Zhang <mingrui.zhang@savoirfairelinux.com> Date: Tue, 1 Jun 2021 10:13:37 -0400 Subject: [PATCH] participantCallInStatus: reduce the size of the delegate Change-Id: I0875b99599cf1a3f90cfddc87b6281edf91cb45e --- src/constant/JamiTheme.qml | 12 ++++++------ .../components/ParticipantCallInStatusDelegate.qml | 4 ++-- 2 files changed, 8 insertions(+), 8 deletions(-) diff --git a/src/constant/JamiTheme.qml b/src/constant/JamiTheme.qml index d5ae86bdd..536c8b505 100644 --- a/src/constant/JamiTheme.qml +++ b/src/constant/JamiTheme.qml @@ -195,16 +195,16 @@ Item { property real smartListAvatarSize: 52 property real avatarSizeInCall: 130 property real callButtonPreferredSize: 50 - property int participantCallInStatusViewWidth: 225 + property int participantCallInStatusViewWidth: 175 property int participantCallInStatusViewHeight: 300 - property int participantCallInStatusDelegateHeight: 105 + property int participantCallInStatusDelegateHeight: 85 property int participantCallInStatusDelegateRadius: 5 property real participantCallInStatusOpacity: 0.77 - property int participantCallInAvatarSize: 75 + property int participantCallInAvatarSize: 60 property int participantCallInNameFontSize: 11 - property int participantCallInStatusFontSize: 9 - property int participantCallInStatusTextWidthLimit: 100 - property int participantCallInStatusTextWidth: 68 + property int participantCallInStatusFontSize: 7 + property int participantCallInStatusTextWidthLimit: 80 + property int participantCallInStatusTextWidth: 40 property int mosaicButtonRadius: 5 property int mosaicButtonPreferredMargin: 5 property real mosaicButtonOpacity: 0.77 diff --git a/src/mainview/components/ParticipantCallInStatusDelegate.qml b/src/mainview/components/ParticipantCallInStatusDelegate.qml index d73c3991b..b21219601 100644 --- a/src/mainview/components/ParticipantCallInStatusDelegate.qml +++ b/src/mainview/components/ParticipantCallInStatusDelegate.qml @@ -80,9 +80,9 @@ SpinningAnimation { id: name Layout.alignment: Qt.AlignLeft | Qt.AlignVCenter - Layout.preferredWidth: JamiTheme.participantCallInStatusTextWidth + Layout.preferredWidth: callStatus.Layout.preferredWidth - font.weight: Font.ExtraBold + font.weight: Font.Bold font.pointSize: JamiTheme.participantCallInNameFontSize color: JamiTheme.participantCallInStatusTextColor text: PrimaryName -- GitLab