[ios] BottomMenu iPad landscape height fix

This commit is contained in:
Igor Khmurets 2014-08-18 18:45:35 +03:00 committed by Alex Zolotarev
parent b70b5573ab
commit 2993a1ea36

View file

@ -78,7 +78,7 @@
{
CGFloat menuHeight = [self.items count] * [BottomMenuCell cellHeight];
if (self.superview.width > self.superview.height)
menuHeight = MIN(menuHeight, 228);
menuHeight = MIN(menuHeight, IPAD ? menuHeight : 228);
self.tableView.frame = CGRectMake(self.tableView.minX, self.tableView.minY, self.width, menuHeight);