Skip to content

Commit

Permalink
finetune macOS QComboBox descendent QLineEdit FindReplace highlighting
Browse files Browse the repository at this point in the history
  • Loading branch information
kevinhendricks committed Apr 19, 2024
1 parent b027460 commit e6263b3
Showing 1 changed file with 8 additions and 2 deletions.
10 changes: 8 additions & 2 deletions src/main.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -97,12 +97,18 @@ const QString MAC_DOCK_TITLEBAR_FIX =
// Allow Focus Highlight qss to be platform dependent
#if defined(Q_OS_MAC)
const QString FOCUS_HIGHLIGHT_QSS =
"QTableWidget:focus, QTreeWidget:focus, QLineEdit:focus, "
"QTableWidget:focus, QTreeWidget:focus, "
"QPlainTextEdit:focus, QTextEdit:focus,QTreeView::focus, "
"QTabWidget:focus, QListView:focus, QScrollArea:focus, "
"QToolButton:focus, QTabBar:focus { "
"QTabBar:focus { "
" border: 3px solid HIGHLIGHT_COLOR;"
"}"
".QLineEdit:focus, QToolButton:focus, QPushButton:focus { "
" border: 3px solid HIGHLIGHT_COLOR;"
"}"
"QComboWidget > QLineEdit:focus { "
" border: 1px solid HIGHLIGHT_COLOR;"
"}"
"QPlainTextEdit, QTableWidget, QTreeView { "
" padding-left:3px; padding-right:3px; padding-top:3px; padding-bottom:3px;"
"}";
Expand Down

0 comments on commit e6263b3

Please sign in to comment.