From 3dc747cf6e78c5f013305ccd4f4b3bf14821a793 Mon Sep 17 00:00:00 2001 From: Christophe Deschamps Date: Mon, 26 Jul 2021 10:16:51 +0200 Subject: [PATCH] Size adjust when recording & picture only --- Classes/LinphoneUI/UIChatBubbleTextCell.m | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Classes/LinphoneUI/UIChatBubbleTextCell.m b/Classes/LinphoneUI/UIChatBubbleTextCell.m index c5a9f2cf1..8f8fed31b 100644 --- a/Classes/LinphoneUI/UIChatBubbleTextCell.m +++ b/Classes/LinphoneUI/UIChatBubbleTextCell.m @@ -681,7 +681,8 @@ static const CGFloat CELL_MESSAGE_Y_MARGIN = 44; CGSize baseSize = CGSizeMake(120 + CELL_MESSAGE_X_MARGIN, 120 + CELL_MESSAGE_Y_MARGIN + textSize.height + (textSize.height != 0 ? 20 : 0)); if (voiceContent) { baseSize = [self addVoicePlayerToSize:baseSize withMargins:true]; - + baseSize.height -= VOICE_RECORDING_PLAYER_HEIGHT; + baseSize.height += 10; } return baseSize; }