mirror of
https://github.com/tumic0/GPXSee.git
synced 2024-11-24 03:35:53 +01:00
Fixed android GUI layout issues
This commit is contained in:
parent
24584c44c3
commit
f370642c81
@ -1325,16 +1325,14 @@ void GUI::statistics()
|
||||
+ l.toString(_areaCount) + "<br>");
|
||||
|
||||
if (_dateRange.first.isValid()) {
|
||||
if (_dateRange.first == _dateRange.second) {
|
||||
QString format = l.dateFormat(QLocale::LongFormat);
|
||||
QString format = l.dateFormat(QLocale::ShortFormat);
|
||||
if (_dateRange.first == _dateRange.second)
|
||||
text.append("<b>" + tr("Date") + ":</b> "
|
||||
+ _dateRange.first.toString(format) + "<br>");
|
||||
} else {
|
||||
QString format = l.dateFormat(QLocale::ShortFormat);
|
||||
else
|
||||
text.append("<b>" + tr("Date") + ":</b> "
|
||||
+ QString("%1 - %2").arg(_dateRange.first.toString(format),
|
||||
_dateRange.second.toString(format)) + "<br>");
|
||||
}
|
||||
}
|
||||
|
||||
if (distance() > 0)
|
||||
|
@ -559,7 +559,9 @@ QWidget *OptionsDialog::createPOIPage()
|
||||
QWidget *OptionsDialog::createDEMPage()
|
||||
{
|
||||
_demURL = new QLineEdit();
|
||||
#ifndef Q_OS_ANDROID
|
||||
_demURL->setMinimumWidth(300);
|
||||
#endif // Q_OS_ANDROID
|
||||
_demURL->setText(_options.demURL);
|
||||
_demAuth = new AuthenticationWidget();
|
||||
_demAuth->setUsername(_options.demUsername);
|
||||
|
Loading…
Reference in New Issue
Block a user