Android: make the default font size bigger
The default font size turned out to be slightly too small for comfort on touch devices. This tweaks the size from a 12-point equivalent to a 14-point equivalent. (Point sizes aren't real point sizes because of compatibility with iOS.) Change-Id: I6d970fdd5bba8199cabdf1aaaaac10d19c53c654 Reviewed-by: Eskil Abrahamsen Blomfeldt <eskil.abrahamsen-blomfeldt@digia.com> Reviewed-by: Jens Bache-Wiig <jens.bache-wiig@digia.com>bb10
parent
7879fbe4b8
commit
a474b1d135
|
|
@ -125,7 +125,7 @@ const QFont *QAndroidPlatformTheme::font(Font type) const
|
|||
return &(it.value());
|
||||
|
||||
// default in case the style has not set a font
|
||||
static QFont systemFont("Roboto", 12.0 * 100 / 72); // keep default size the same after changing from 100 dpi to 72 dpi
|
||||
static QFont systemFont("Roboto", 14.0 * 100 / 72); // keep default size the same after changing from 100 dpi to 72 dpi
|
||||
if (type == QPlatformTheme::SystemFont)
|
||||
return &systemFont;
|
||||
return 0;
|
||||
|
|
|
|||
Loading…
Reference in New Issue