mirror of
https://github.com/GoldenCheetah/GoldenCheetah.git
synced 2026-02-14 16:39:57 +00:00
Make toolbar color configurable
Not generally useful but allows one to make the toolbar menu and titlebar match for a more pleasing general effect. Most users will not use this I imagine and use the default window colors.
This commit is contained in:
@@ -24,9 +24,15 @@ MetadataWindow::MetadataWindow(MainWindow *mainWindow) :
|
||||
setInstanceName("Metadata Window");
|
||||
setControls(NULL);
|
||||
setRideItem(NULL);
|
||||
setContentsMargins(0,0,0,0);
|
||||
|
||||
QVBoxLayout *vlayout = new QVBoxLayout(this);
|
||||
vlayout->setSpacing(0);
|
||||
rideMetadata = new RideMetadata(mainWindow);
|
||||
QFont font;
|
||||
font.setPointSize(font.pointSize()-2);
|
||||
rideMetadata->setFont(font);
|
||||
rideMetadata->setContentsMargins(0,0,0,0);
|
||||
vlayout->addWidget(rideMetadata);
|
||||
|
||||
connect(this, SIGNAL(rideItemChanged(RideItem*)), this, SLOT(rideItemChanged()));
|
||||
|
||||
Reference in New Issue
Block a user