UI Nits: RideMetadata clean look on Windows

.. remove the ugly frame.
This commit is contained in:
Mark Liversedge
2013-03-24 17:32:14 +00:00
parent 112531e9b5
commit 832fdecdd8

View File

@@ -54,6 +54,12 @@ RideMetadata::RideMetadata(MainWindow *parent, bool singlecolumn) :
tabs->setMovable(true);
tabs->setPalette(palette);
tabs->setAutoFillBackground(false);
#ifdef WIN32
tabs->setStyleSheet("QTabWidget::pane { "
" margin: 0px,0px,0px,0px;"
" border: 0px;"
" border-top: 0px; }");
#endif
mainLayout->addWidget(tabs);
// read in metadata.xml and setup the tabs etc