mirror of
https://github.com/RPCS3/rpcs3.git
synced 2025-07-06 15:01:28 +12:00
Fix table headers for Qt 5.10 and below
This commit is contained in:
parent
544f8711f0
commit
6a62de6d68
1 changed files with 7 additions and 0 deletions
|
@ -351,8 +351,15 @@ void rpcs3_app::OnChangeStyleSheetRequest(const QString& path)
|
|||
"QTableView::item:selected { background-color: #148aff; color: #fff; }"
|
||||
"QTableView#game_grid::item:hover:!selected { background-color: #94c9ff; color: #fff; }"
|
||||
"QTableView#game_grid::item:hover:selected { background-color: #007fff; color: #fff; }"
|
||||
|
||||
// table headers
|
||||
#if (QT_VERSION < QT_VERSION_CHECK(5,11,0))
|
||||
"QHeaderView::section { padding: .5em; border: 0.063em solid #ffffff; }"
|
||||
"QHeaderView::section:hover { background: #e3e3e3; padding: .5em; border: 0.063em solid #ffffff; }"
|
||||
#else
|
||||
"QHeaderView::section { padding-left: .5em; padding-right: .5em; padding-top: .4em; padding-bottom: -.1em; border: 0.063em solid #ffffff; }"
|
||||
"QHeaderView::section:hover { background: #e3e3e3; padding-left: .5em; padding-right: .5em; padding-top: .4em; padding-bottom: -.1em; border: 0.063em solid #ffffff; }"
|
||||
#endif
|
||||
|
||||
// dock widget
|
||||
"QDockWidget{ background: transparent; color: black; }"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue