mirror of
https://github.com/GoldenCheetah/GoldenCheetah.git
synced 2026-02-15 00:49:55 +00:00
Fixup Ride List Background Scroller
.. when change colors
This commit is contained in:
@@ -170,13 +170,13 @@ RideNavigator::configChanged()
|
||||
else
|
||||
tableView->header()->show();
|
||||
|
||||
tableView->setStyleSheet(TabView::ourStyleSheet());
|
||||
tableView->header()->setStyleSheet(
|
||||
QString("QHeaderView { background-color: %1; color: %2; }"
|
||||
"QHeaderView::section { background-color: %1; color: %2; "
|
||||
" border: 0px ; }")
|
||||
.arg(GColor(CPLOTBACKGROUND).name())
|
||||
.arg(GCColor::invertColor(GColor(CPLOTBACKGROUND)).name()));
|
||||
tableView->verticalScrollBar()->setStyleSheet(TabView::ourStyleSheet());
|
||||
}
|
||||
|
||||
#endif
|
||||
|
||||
@@ -154,6 +154,7 @@ TabView::ourStyleSheet()
|
||||
{
|
||||
return QString::fromUtf8("QScrollBar { background-color: %1; }"
|
||||
"QTextEdit { background: %1; }"
|
||||
"QTreeView { background: %1; }"
|
||||
"QScrollBar:vertical {"
|
||||
" border: 0px solid darkGray; "
|
||||
" background:%1;"
|
||||
|
||||
Reference in New Issue
Block a user