forked from mirrors/linphone-iphone
Merge branch 'auto_layout_fix' into dev_group_chat
This commit is contained in:
commit
9e1d0fa796
1 changed files with 1 additions and 1 deletions
|
|
@ -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);
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue