menu fixing
This commit is contained in:
parent
91890011d8
commit
c59be1b9a8
@ -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;
|
||||
|
||||
Loading…
Reference in New Issue
Block a user