From e5a66dc1a3e652dca7572f7cbf0dcba65d499b43 Mon Sep 17 00:00:00 2001 From: "Murugan, Vimal" Date: Thu, 5 Sep 2019 14:53:42 +0530 Subject: [PATCH] width update for calculate correct height --- .../TopLabelsAndBottomButtonsTableViewController.m | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/MVMCoreUI/LegacyControllers/TopLabelsAndBottomButtonsTableViewController.m b/MVMCoreUI/LegacyControllers/TopLabelsAndBottomButtonsTableViewController.m index ca75b778..a2e66bc7 100644 --- a/MVMCoreUI/LegacyControllers/TopLabelsAndBottomButtonsTableViewController.m +++ b/MVMCoreUI/LegacyControllers/TopLabelsAndBottomButtonsTableViewController.m @@ -289,8 +289,7 @@ UIView *headerView = self.headerView; UIView *tableHeader = [[UIView alloc] initWithFrame:CGRectMake(0, 0, [UIScreen mainScreen].bounds.size.width, 0)]; - [MVMCoreUIUtility sizeViewToFit:headerView]; - + [MVMCoreUIUtility sizeViewToFit:headerView forWidth:[NSNumber numberWithFloat:[MVMCoreUISplitViewController getDetailViewWidth]]]; CGRect frame = tableHeader.frame; frame.size.height = CGRectGetHeight(headerView.frame); tableHeader.frame = frame;