Fixup Ride List Background Scroller

.. when change colors
This commit is contained in:
Mark Liversedge
2014-05-26 15:13:19 +01:00
parent bda2490eb3
commit 32fe7e09cd
2 changed files with 2 additions and 1 deletions

View File

@@ -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

View File

@@ -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;"