From 498ab93f3a8d4e7ddcf200f1048171eec2d06f50 Mon Sep 17 00:00:00 2001 From: michael starke Date: Tue, 20 Dec 2016 11:31:06 +0100 Subject: [PATCH] added missing contrains to silence 10.12 AppKit warnings --- MacPass/Base.lproj/EntryInspectorView.xib | 21 ++++++++++----------- MacPass/MPEntryInspectorViewController.m | 5 +++++ 2 files changed, 15 insertions(+), 11 deletions(-) diff --git a/MacPass/Base.lproj/EntryInspectorView.xib b/MacPass/Base.lproj/EntryInspectorView.xib index e6645f26..85c5b099 100644 --- a/MacPass/Base.lproj/EntryInspectorView.xib +++ b/MacPass/Base.lproj/EntryInspectorView.xib @@ -1,8 +1,9 @@ - - + + - + + @@ -95,10 +96,10 @@ - + - + @@ -215,7 +216,6 @@ - @@ -275,10 +275,10 @@ - + - + @@ -399,7 +399,6 @@ - @@ -743,7 +742,7 @@ - + @@ -768,6 +767,7 @@ + @@ -784,7 +784,6 @@ - diff --git a/MacPass/MPEntryInspectorViewController.m b/MacPass/MPEntryInspectorViewController.m index 960101cf..a550ef07 100644 --- a/MacPass/MPEntryInspectorViewController.m +++ b/MacPass/MPEntryInspectorViewController.m @@ -350,6 +350,11 @@ typedef NS_ENUM(NSUInteger, MPEntryTab) { options:0 metrics:nil views:views]]; + [clipView addConstraints:[NSLayoutConstraint constraintsWithVisualFormat:@"V:|[view]" + options:0 + metrics:nil + views:views]]; + [[self view] layoutSubtreeIfNeeded]; }