Merge pull request #3 from onflapp/fix-project-builder-log-selection

fix project builder log selection color
This commit is contained in:
Riccardo 2021-02-03 21:14:02 +01:00 committed by GitHub
commit eb5837315c
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -220,6 +220,11 @@
[logOutput setSelectable:YES];
[logOutput setAutoresizingMask:NSViewWidthSizable | NSViewHeightSizable];
[logOutput setBackgroundColor:[NSColor lightGrayColor]];
[logOutput setSelectedTextAttributes:
[NSDictionary dictionaryWithObjectsAndKeys:
[NSColor whiteColor], NSBackgroundColorAttributeName,
[NSColor blackColor], NSForegroundColorAttributeName,
nil]];
[[logOutput textContainer] setWidthTracksTextView:YES];
[[logOutput textContainer] setHeightTracksTextView:YES];
[logOutput setHorizontallyResizable:NO];