diff --git a/Classes/LinphoneUI/UIChatBubbleTextCell.m b/Classes/LinphoneUI/UIChatBubbleTextCell.m index f31b4e080..ff8de9fc1 100644 --- a/Classes/LinphoneUI/UIChatBubbleTextCell.m +++ b/Classes/LinphoneUI/UIChatBubbleTextCell.m @@ -344,7 +344,7 @@ static const CGFloat CELL_MESSAGE_Y_MARGIN = 52; // 44; size = [self getMediaMessageSizefromOriginalSize:originalImageSize withWidth:width]; //This fixes the image being too small. I think the issue comes form the fact that the display is retina. This should probably be changed in the future. - size.height += CELL_MESSAGE_Y_MARGIN; + size.height += CELL_MESSAGE_X_MARGIN; } size.width = MAX(size.width + CELL_MESSAGE_X_MARGIN, CELL_MIN_WIDTH); size.height = MAX(size.height + CELL_MESSAGE_Y_MARGIN, CELL_MIN_HEIGHT);