mirror of
https://git.sr.ht/~eliasnaur/gio
synced 2026-07-03 00:16:15 +00:00
app/internal/window: tweak minimum pixels per dp/sp
To keep text legible on low DPI monitors, the number of pixels per dp or sp is not is not allowed to go below minDensity. However, a minimum density of 1.25 leads to too big text and widgets on a baseline ~96 DPI monitor. Lower the minimum to 1.0, where text is still legible. Signed-off-by: Elias Naur <mail@eliasnaur.com>
This commit is contained in:
@@ -117,5 +117,5 @@ const (
|
||||
// minDensity is the minimum pixels per dp to
|
||||
// ensure font and ui legibility on low-dpi
|
||||
// screens.
|
||||
minDensity = 1.25
|
||||
minDensity = 1.0
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user