Commit c5f9ea13 authored by Felix Paul Kühne's avatar Felix Paul Kühne

macosx: set the splitview divider to 60% gray instead of black to fit most default apps

parent af5969ae
...@@ -702,13 +702,13 @@ void _drawFrameInRect(NSRect frameRect) ...@@ -702,13 +702,13 @@ void _drawFrameInRect(NSRect frameRect)
*/ */
- (NSColor *)dividerColor - (NSColor *)dividerColor
{ {
return [NSColor blackColor]; return [NSColor colorWithCalibratedRed:.60 green:.60 blue:.60 alpha:1.];
} }
/* Return the thickness of the dividers that the split view is drawing between subviews. The default implementation returns a value that depends on the divider style. You can override this method to change the size of dividers. /* Return the thickness of the dividers that the split view is drawing between subviews. The default implementation returns a value that depends on the divider style. You can override this method to change the size of dividers.
*/ */
- (CGFloat)dividerThickness - (CGFloat)dividerThickness
{ {
return 0.01; return .01;
} }
@end @end
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment