Improve labels color.

This commit is contained in:
Damiano Galassi committed 2020-02-13 11:07:31 +01:00
1 parent ce05de5b17
commit 687348027d
6 files changed
+93 -84

No files matched your search

@@ -534,6 +534,12 @@ class MovieViewController: PropertyView, NSTableViewDataSource, ExpandedTableVie
let cell = tableView.makeView(withIdentifier: MovieViewController.keyCell, owner: self) as? NSTableCellView
cell?.textField?.stringValue = localizedMetadataKeyName(item.identifier)
if #available(macOS 10.14, *) {
cell?.textField?.textColor = .secondaryLabelColor
}
else {
cell?.textField?.textColor = .disabledControlTextColor
}
return cell
} else if tableColumn?.identifier == valueColumn {