Disable program text fields editable and remove auto complete popup.

This commit is contained in:
2025-07-13 13:18:11 -07:00
parent 58948e1614
commit 42fe921dbc
6 changed files with 21 additions and 15 deletions
+4 -1
View File
@@ -61,6 +61,7 @@ class SearchViewController: NSViewController, NSTextFieldDelegate,
textField.lineBreakMode = .byTruncatingHead
textField.focusRingType = .none
textField.placeholderString = "Program Search"
textField.isAutomaticTextCompletionEnabled = false
textField.bezelStyle = .roundedBezel
textField.font = NSFont
.systemFont(ofSize: NSFontDescriptor
@@ -346,7 +347,9 @@ class SearchViewController: NSViewController, NSTextFieldDelegate,
private func reloadProgramsTableViewData() {
if listIndex > 0 {
tableViewHeightAnchor?.constant = 210
// TODO: Why is this located here, randomly? Make it a global
// config variable.
tableViewHeightAnchor?.constant = 250
} else {
tableViewHeightAnchor?.constant = 0
}