From 80f818e757daee7c7097a80080c364a34097d990 Mon Sep 17 00:00:00 2001 From: hius07 <62179190+hius07@users.noreply.github.com> Date: Sat, 12 Nov 2022 22:23:46 +0200 Subject: [PATCH] Button: fix long wrapped text alignment (#9778) --- frontend/ui/widget/button.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/frontend/ui/widget/button.lua b/frontend/ui/widget/button.lua index d431ac92b..037c0d8f6 100644 --- a/frontend/ui/widget/button.lua +++ b/frontend/ui/widget/button.lua @@ -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,