[UX] Use a full-width plus for buttons paired with a unicode minus (#7018)

U+FF0B vs. U+002B

Because otherwise it is not, in fact, the same width as the minus, which looks weird in buttons ;).

Re #3840 & #6939
This commit is contained in:
NiLuJe
2020-12-20 20:47:40 +01:00
committed by GitHub
parent 9f25dc75a0
commit f5a7541dbb
3 changed files with 3 additions and 3 deletions

View File

@@ -180,7 +180,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,

View File

@@ -452,7 +452,7 @@ function FrontLightWidget:addWarmthWidgets(num_warmth, step, vertical_group)
end,
}
button_plus_one_hour = Button:new{
text = "+",
text = "",
margin = Size.margin.small,
radius = 0,
enabled = self.powerd.auto_warmth,

View File

@@ -100,7 +100,7 @@ function NaturalLightWidget:adaptableNumber(initial, step)
end,
}
local button_plus = Button:new{
text = "+",
text = "",
margin = Size.margin.small,
radius = 0,
width = self.button_width,