[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
reviewable/pr7022/r1
NiLuJe 3 years ago committed by GitHub
parent 9f25dc75a0
commit f5a7541dbb
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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

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

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

Loading…
Cancel
Save