Improve labels color.
This commit is contained in:
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 {
|
||||
|
||||
Reference in new issue
Block a user