Skip to content

Commit 62d285d

Browse files
committed
Account for the cell padding in the header
1 parent 731b19c commit 62d285d

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

‎FuzzyAutocomplete/FATextCompletionListHeaderView.m‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -69,6 +69,7 @@ - (void)onColumnsResized:(NSNotification *) notification {
6969
NSInteger titleColumn = [self.tableView columnWithIdentifier: @"title"];
7070
if (titleColumn != -1) {
7171
NSRect labelFrame = [self.tableView rectOfColumn: titleColumn];
72+
labelFrame.origin.x += 1;
7273
labelFrame.origin.y = 0;
7374
labelFrame.size.height = self.bounds.size.height;
7475
labelFrame.size.width = self.bounds.size.width - labelFrame.origin.x;

0 commit comments

Comments
 (0)