diff --git a/MacPass/Base.lproj/EntryInspectorView.xib b/MacPass/Base.lproj/EntryInspectorView.xib index 11cc4375..c3687b6d 100644 --- a/MacPass/Base.lproj/EntryInspectorView.xib +++ b/MacPass/Base.lproj/EntryInspectorView.xib @@ -1,8 +1,8 @@ - + - + @@ -19,6 +19,7 @@ + @@ -72,7 +73,7 @@ - - - - - - - - - - - NSAllRomanInputSourcesLocaleIdentifier - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + @@ -442,10 +274,7 @@ - - - - + @@ -467,7 +296,7 @@ - + @@ -480,62 +309,232 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + NSAllRomanInputSourcesLocaleIdentifier + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + - - - - - + + - - - + - + @@ -788,7 +787,7 @@ - + @@ -823,7 +822,7 @@ - + @@ -902,7 +901,7 @@ - + diff --git a/MacPass/Base.lproj/InspectorView.xib b/MacPass/Base.lproj/InspectorView.xib index 64a82998..f2f74fa3 100644 --- a/MacPass/Base.lproj/InspectorView.xib +++ b/MacPass/Base.lproj/InspectorView.xib @@ -1,8 +1,8 @@ - + - + @@ -44,7 +44,7 @@ - + @@ -83,7 +83,7 @@ - + diff --git a/MacPass/MPEntryInspectorViewController.h b/MacPass/MPEntryInspectorViewController.h index 604da835..e02727be 100644 --- a/MacPass/MPEntryInspectorViewController.h +++ b/MacPass/MPEntryInspectorViewController.h @@ -47,9 +47,8 @@ @property (weak) IBOutlet NSTokenField *tagsTokenField; @property (weak) IBOutlet NSTextField *uuidTextField; -@property (weak) IBOutlet NSTextField *createdTextField; -@property (weak) IBOutlet NSTextField *modifiedTextField; @property (weak) IBOutlet MPContextButton *addCustomFieldButton; +@property (strong) IBOutlet NSStackView *fieldsStackView; /* Attachments */ @property (weak) IBOutlet NSButtonCell *addAttachmentButton; diff --git a/MacPass/MPEntryInspectorViewController.m b/MacPass/MPEntryInspectorViewController.m index 0ea63f1c..0efc4a50 100644 --- a/MacPass/MPEntryInspectorViewController.m +++ b/MacPass/MPEntryInspectorViewController.m @@ -58,6 +58,10 @@ typedef NS_ENUM(NSUInteger, MPEntryTab) { MPEntryTabAutotype }; +@interface NSObject (MPAppKitPrivateAPI) +- (void)_searchWithGoogleFromMenu:(id)obj; +@end + @interface MPEntryInspectorViewController () { @private NSArrayController *_attachmentsController; @@ -141,12 +145,12 @@ typedef NS_ENUM(NSUInteger, MPEntryTab) { [self.generalView addSubview:customFieldTableView]; - NSDictionary *dict = NSDictionaryOfVariableBindings(customFieldTableView, _tagsTokenField, _addCustomFieldButton); + NSDictionary *dict = NSDictionaryOfVariableBindings(customFieldTableView, _fieldsStackView, _addCustomFieldButton); [self.generalView addConstraints:[NSLayoutConstraint constraintsWithVisualFormat:@"H:|-16-[customFieldTableView]-16-|" options:0 metrics:nil views:dict]]; - [self.generalView addConstraints:[NSLayoutConstraint constraintsWithVisualFormat:@"V:[_tagsTokenField]-[customFieldTableView]-[_addCustomFieldButton]" + [self.generalView addConstraints:[NSLayoutConstraint constraintsWithVisualFormat:@"V:[_fieldsStackView]-[customFieldTableView]-[_addCustomFieldButton]" options:0 metrics:nil views:dict]];