Font scaling minimum to 80% and adjust vertical centering formula
[ci skip]
This commit is contained in:
parent
396af2d0d8
commit
21965b40e5
2 changed files with 2 additions and 2 deletions
|
@ -29,7 +29,7 @@
|
|||
# If the text is too high it returns the top side.
|
||||
# Rounding happens to the bottom side.
|
||||
#define GUI__TEXT_VERTICALLY_CENTRED
|
||||
"(if(text_height < height, (height - text_height - 2) / 2, 0))"
|
||||
"(if(text_height < height, (height - text_height + 2) / 2, 0))"
|
||||
#enddef
|
||||
|
||||
#define GUI__CENTERED_TEXT FONT_SIZE FONT_STYLE FONT_COLOR
|
||||
|
|
|
@ -253,7 +253,7 @@
|
|||
[slider]
|
||||
id = "scaling_slider"
|
||||
definition = "minimal"
|
||||
minimum_value,maximum_value=100,200
|
||||
minimum_value,maximum_value=80,200
|
||||
step_size=5
|
||||
tooltip= _ "Set the scaling factor of fonts"
|
||||
[/slider]
|
||||
|
|
Loading…
Add table
Reference in a new issue