Skip to content

NSTableView challenges #18

@rdmeyers

Description

@rdmeyers

Let me start by saying your ThemeKit is brilliant! You have made it so simple to implement, and yet so flexible. I am hoping that flexibility will accommodate the problem I am having with the NSTableView class (or some child within it). A picture is worth a 1000 words, so here we go:

image

Is there any way to keep the cells from being themed? The table itself is theming just fine as the dark theme will attest to. It seems that maybe the NSTextFields in the tableview are getting themed and I would like to see those ignored. I have tried the following in various forms and combinations to no avail, even attempting to skip theming the tableview completely:

[[TKThemeManager sharedManager] setTheme:TKThemeManager.lightTheme];
[TKThemeManager sharedManager].windowThemePolicy = TKThemeManagerWindowThemePolicyDoNotThemeSomeWindows;
[TKThemeManager sharedManager].notThemableWindowClasses = @[[NSTableView class]];

Any suggestions would be greatly appreciated.

By the way, the default dark theme looks even better on Mohave than High Sierra, etc. :-)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions