1
0
mirror of https://github.com/tumic0/GPXSee.git synced 2024-11-28 05:34:47 +01:00

Layout adjustment

This commit is contained in:
Martin Tůma 2018-07-21 18:11:19 +02:00
parent 531eb256f1
commit 51d4284ebe

View File

@ -915,8 +915,13 @@ void GUI::exportFile()
void GUI::statistics() void GUI::statistics()
{ {
QString text = "<style>td {white-space: pre; padding-right: 1em;}" #ifdef Q_OS_WIN32
QString text = "<style>td {white-space: pre; padding-right: 4em;}"
"th {text-align: left; padding-top: 0.5em;}</style><table>"; "th {text-align: left; padding-top: 0.5em;}</style><table>";
#else // Q_OS_WIN32
QString text = "<style>td {white-space: pre; padding-right: 2em;}"
"th {text-align: left; padding-top: 0.5em;}</style><table>";
#endif // Q_OS_WIN32
if (_showTracksAction->isChecked() && _trackCount > 1) if (_showTracksAction->isChecked() && _trackCount > 1)
text.append("<tr><td>" + tr("Tracks") + ":</td><td>" text.append("<tr><td>" + tr("Tracks") + ":</td><td>"