mirror of
https://gitlab.linphone.org/BC/public/linphone-iphone.git
synced 2026-05-03 20:46:28 +00:00
Size adjust when recording & picture only
This commit is contained in:
parent
7968c65055
commit
3dc747cf6e
1 changed files with 2 additions and 1 deletions
|
|
@ -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;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue