Use automatic row height to allow for multi-line custom fields

This commit is contained in:
Michael Starke
2020-07-14 16:34:27 +02:00
parent e03660b184
commit badd22793d

View File

@@ -158,6 +158,7 @@ typedef NS_ENUM(NSUInteger, MPEntryTab) {
self.customFieldsTableView.backgroundColor = NSColor.clearColor;
self.customFieldsTableView.usesAutomaticRowHeights = YES;
[self.customFieldsTableView bind:NSContentBinding toObject:_customFieldsController withKeyPath:NSStringFromSelector(@selector(arrangedObjects)) options:nil];
self.customFieldsTableView.delegate = _customFieldTableDelegate;