Skip to content

Commit

Permalink
Update the position and the color of the found items number, fixed #399
Browse files Browse the repository at this point in the history
… (#404)
  • Loading branch information
mikekazakov authored Sep 27, 2024
1 parent 76e2050 commit 893d185
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,7 @@ - (id)initWithFrame:(NSRect)frameRect theme:(std::unique_ptr<nc::panel::HeaderTh
m_SearchMatchesField.usesSingleLineMode = true;
m_SearchMatchesField.alignment = NSTextAlignmentRight;
m_SearchMatchesField.font = [NSFont labelFontOfSize:11];
m_SearchMatchesField.textColor = [NSColor disabledControlTextColor];
m_SearchMatchesField.textColor = [NSColor systemGrayColor];
[self addSubview:m_SearchMatchesField];

m_SeparatorLine = [[ColoredSeparatorLine alloc] initWithFrame:NSRect()];
Expand Down Expand Up @@ -202,7 +202,7 @@ - (void)setupLayout
options:0
metrics:nil
views:views]];
[self addConstraints:[NSLayoutConstraint constraintsWithVisualFormat:@"[m_SearchMatchesField(==50)]-(20)-|"
[self addConstraints:[NSLayoutConstraint constraintsWithVisualFormat:@"[m_SearchMatchesField(==50)]-(25)-|"
options:0
metrics:nil
views:views]];
Expand Down

0 comments on commit 893d185

Please sign in to comment.