mirror of
https://github.com/GoldenCheetah/GoldenCheetah.git
synced 2026-04-15 05:32:21 +00:00
UI Nits: Ride Navigator weird gap fix
Workaround that by putting new columns at the left not at the right and the problem goes away. Suspect it is related to issues with QT and expandLastColumn() which also displayed issues.
This commit is contained in:
@@ -871,6 +871,7 @@ RideNavigator::dropEvent(QDropEvent *event)
|
||||
if (name == "BikeScore?") name = QTextEdit("BikeScore™").toPlainText();
|
||||
tableView->setColumnHidden(logicalHeadings.indexOf(name), false);
|
||||
tableView->setColumnWidth(logicalHeadings.indexOf(name), 50);
|
||||
tableView->header()->moveSection(tableView->header()->visualIndex(logicalHeadings.indexOf(name)), 1);
|
||||
columnsChanged();
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user