From c59be1b9a8ef912f3792dbd4dad723b467d28106 Mon Sep 17 00:00:00 2001 From: "Pfeil, Scott Robert" Date: Fri, 17 May 2019 10:37:32 -0400 Subject: [PATCH] menu fixing --- .../SplitViewController/MVMCoreUISplitViewController.m | 2 ++ 1 file changed, 2 insertions(+) diff --git a/MVMCoreUI/Containers/SplitViewController/MVMCoreUISplitViewController.m b/MVMCoreUI/Containers/SplitViewController/MVMCoreUISplitViewController.m index 73382510..2c6318e4 100644 --- a/MVMCoreUI/Containers/SplitViewController/MVMCoreUISplitViewController.m +++ b/MVMCoreUI/Containers/SplitViewController/MVMCoreUISplitViewController.m @@ -702,6 +702,7 @@ CGFloat const PanelAnimationDuration = 0.2; [self addPanel:panel]; self.leftView = panel.view; self.leftPanel = panel; + self.leftView.translatesAutoresizingMaskIntoConstraints = NO; NSLayoutConstraint *leftPanelWidth = [NSLayoutConstraint constraintWithItem:self.leftView attribute:NSLayoutAttributeWidth relatedBy:NSLayoutRelationEqual toItem:nil attribute:NSLayoutAttributeNotAnAttribute multiplier:1.0 constant:270]; leftPanelWidth.active = YES; self.leftPanelWidth = leftPanelWidth; @@ -736,6 +737,7 @@ CGFloat const PanelAnimationDuration = 0.2; [self addPanel:panel]; self.rightView = panel.view; self.rightPanel = panel; + self.rightView.translatesAutoresizingMaskIntoConstraints = NO; NSLayoutConstraint *rightPanelWidth = [NSLayoutConstraint constraintWithItem:self.rightView attribute:NSLayoutAttributeWidth relatedBy:NSLayoutRelationEqual toItem:nil attribute:NSLayoutAttributeNotAnAttribute multiplier:1.0 constant:270]; rightPanelWidth.active = YES; self.rightPanelWidth = rightPanelWidth;