mirror of
https://gitlab.linphone.org/BC/public/linphone-iphone.git
synced 2026-05-03 20:46:28 +00:00
Adjust chat cell size for iOS7 compatibility.
This commit is contained in:
parent
1d082b4f63
commit
817f9c35b6
1 changed files with 7 additions and 0 deletions
|
|
@ -64,6 +64,13 @@ static UIFont *CELL_FONT = nil;
|
|||
[messageImageView addGestureRecognizer:imageTapGestureRecognizer];
|
||||
[self addSubview:innerView];
|
||||
[deleteButton setAlpha:0.0f];
|
||||
|
||||
// shift message box, otherwise it will collide with the bubble
|
||||
CGRect messageCoords = [messageText frame];
|
||||
messageCoords.origin.x += 5;
|
||||
messageCoords.origin.y += 2;
|
||||
messageCoords.size.width -= 5;
|
||||
[messageText setFrame:messageCoords];
|
||||
}
|
||||
return self;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue