From 8e1ccccf1141e3a1bcbd5ecfd7cbf0ac05309563 Mon Sep 17 00:00:00 2001 From: PHIDIAS Date: Tue, 3 Nov 2026 20:13:01 +0900 Subject: [PATCH] style --- exp_scenario/module/gui/calculator.lua | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/exp_scenario/module/gui/calculator.lua b/exp_scenario/module/gui/calculator.lua index 25d82a70..c864e058 100644 --- a/exp_scenario/module/gui/calculator.lua +++ b/exp_scenario/module/gui/calculator.lua @@ -50,6 +50,8 @@ Elements.calculator_function_label = Gui.define("calculator/function_label") style = "heading_2_label", } +Elements.calculator_function_label.style.horizontal_align = "center" + --- Input textfield Elements.calculator_input_textfield = Gui.define("calculator/input_textfield") :draw{ @@ -69,6 +71,8 @@ Elements.calculator_result_label = Gui.define("calculator/result_label") style = "heading_2_label", } +Elements.calculator_result_label.style.horizontal_align = "right" + --- Empty new line label Elements.calculator_label_1 = Gui.define("calculator/label_1") :draw{