From 91794f0eba94abe38b3fe6d62313f4548eaa7b4e Mon Sep 17 00:00:00 2001 From: Mark Liversedge Date: Mon, 29 Oct 2012 09:35:57 +0000 Subject: [PATCH] About Dialog Tidy A bit of tidy up to make the About dialog look a bit like it used to in terms of size and layout. Is now an acceptable size for those on netbooks or devices with a small screen. --- src/AboutDialog.cpp | 51 +++++++++++++++++++++------------------------ 1 file changed, 24 insertions(+), 27 deletions(-) diff --git a/src/AboutDialog.cpp b/src/AboutDialog.cpp index 0bc7cecd3..4d7f38a28 100644 --- a/src/AboutDialog.cpp +++ b/src/AboutDialog.cpp @@ -50,8 +50,8 @@ AboutDialog::AboutDialog(MainWindow *mainWindow, QDir home) : mainWindow(mainWin mainLayout = new QVBoxLayout; mainLayout->addWidget(tabWidget); - mainLayout->setContentsMargins(0,0,0,0); - mainLayout->setSpacing(0); + //mainLayout->setContentsMargins(0,0,0,0); + //mainLayout->setSpacing(0); setLayout(mainLayout); } @@ -206,12 +206,11 @@ VersionPage::VersionPage(MainWindow *main, QDir home) : main(main), home(home) #endif QString gc_version = tr( - "

GoldenCheetah

" "

Build date: %1 %2" - "

Version: %3" - "

DB Schema: %4" - "

OS: %5" - "

") + "
Version: %3" + "
DB Schema: %4" + "
OS: %5" + "
") .arg(__DATE__) .arg(__TIME__) .arg(GC_VERSION) @@ -219,24 +218,23 @@ VersionPage::VersionPage(MainWindow *main, QDir home) : main(main), home(home) .arg(os); QString lib_version = tr( - "" - "" - "" - "" - "" - "" - "" - "" - "" - "" - "" - "" - "" - "" - "" - "" + "
Versions
QT%1
QWT%2
BOOST%3
GCC%4
SRMIO%5
OAUTH%6
F2XX%7
QWTPLOT3D%8
KML%9
ICAL%10
USBXPRESS%11
LIBUSB%12
VLC%13
LUCENE%14
" + "" + "" + "" + "" + "" + "" + "" + "" + "" + "" + "" + "" + "" + "" #ifdef Q_OS_MAC - "" + "" #endif "
QT%1
QWT%2
BOOST%3
GCC%4
SRMIO%5
OAUTH%6
F2XX%7
QWTPLOT3D%8
KML%9
ICAL%10
USBXPRESS%11
LIBUSB%12
VLC%13
LUCENE%14
LION SUPPORT%15
LION SUPPORT%15
" ) @@ -324,13 +322,12 @@ ContributorsPage::ContributorsPage(MainWindow *main, QDir home) : main(main), ho contributors.append("Sean Rhea"); contributors.append("Steven Gribble"); contributors.append("Thomas Weichmann"); - contributors.append("Tom Weichmann"); contributors.append("Walter Bürki"); - QString contributorsTable = "

"; + QString contributorsTable = "
"; for (int i=0;i"+contributors.at(i)+""); - if ((i+1) % 3 == 0) + if ((i+1) % 2 == 0) contributorsTable.append(""); } contributorsTable.append("
");