mirror of
https://github.com/koreader/koreader.git
synced 2025-08-10 00:52:38 +00:00
Use Unicode minus in ButtonProgressWidget (#6939)
Change the text in the button from a hypen (-) to a Unicode minus size (−, U+2212). This is the same width as the + sign. The NaturalLightWidget and FrontLightWidget controls already use minus signs in this way.
This commit is contained in:
@@ -77,7 +77,7 @@ function ButtonProgressWidget:update()
|
||||
local margin = button_margin
|
||||
local extra_border_size = 0
|
||||
local button = Button:new{
|
||||
text = "-",
|
||||
text = "−",
|
||||
radius = 0,
|
||||
margin = margin,
|
||||
padding = button_padding,
|
||||
|
||||
Reference in New Issue
Block a user