Button: fix long wrapped text alignment (#9778)

reviewable/pr9779/r1
hius07 1 year ago committed by GitHub
parent 77e0ac57de
commit 80f818e757
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -108,7 +108,7 @@ function Button:init()
self.label_widget = TextBoxWidget:new{
text = self.text,
line_height = 0,
alignment = "center",
alignment = self.align,
width = max_width,
height = max_height,
height_adjust = true,

Loading…
Cancel
Save