mirror of
https://github.com/GoldenCheetah/GoldenCheetah.git
synced 2026-02-13 16:18:42 +00:00
Editor heading alignment fix
.. taken 10 years to fix this glitch.
This commit is contained in:
@@ -285,6 +285,7 @@ RideEditor::configChanged(qint32)
|
||||
table->verticalHeader()->setStyleSheet(QString("QHeaderView::section { background-color: %1; color: %2; border: 0px }")
|
||||
.arg(GColor(CPLOTBACKGROUND).name())
|
||||
.arg(GCColor::invertColor(GColor(CPLOTBACKGROUND)).name()));
|
||||
table->horizontalHeader()->setDefaultAlignment(Qt::AlignLeft | Qt::AlignVCenter);
|
||||
#ifndef Q_OS_MAC
|
||||
table->verticalScrollBar()->setStyleSheet(TabView::ourStyleSheet());
|
||||
table->horizontalScrollBar()->setStyleSheet(TabView::ourStyleSheet());
|
||||
|
||||
Reference in New Issue
Block a user