From 0c143d9d2d1fb9954bd8e123b9f246ce08d8d097 Mon Sep 17 00:00:00 2001 From: PHIDIAS Date: Sat, 8 Mar 2025 13:14:11 +0900 Subject: [PATCH] . --- exp_legacy/module/modules/gui/production.lua | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/exp_legacy/module/modules/gui/production.lua b/exp_legacy/module/modules/gui/production.lua index f3261042..30d761dc 100644 --- a/exp_legacy/module/modules/gui/production.lua +++ b/exp_legacy/module/modules/gui/production.lua @@ -77,8 +77,6 @@ local production_data_group = Gui.element("production_data_group") caption = "0.00", style = "heading_2_label", } - data.style.width = 80 - data.style.horizontal_align = "right" data.style.font_color = font_color["positive"] end @@ -91,6 +89,9 @@ local production_data_set = Gui.element("production_data_set") :draw(function(_, parent, name) local production_set = parent.add{ type = "flow", direction = "vertical", name = name } local disp = Gui.elements.scroll_table(production_set, 320, 4, "disp") + for i = 2, 4 do + disp.style.column_alignments[i] = "right" + end production_data_group(disp, 0) disp["production_0_1"].caption = { "production.label-prod" } disp["production_0_1"].tooltip = { "production.tooltip-per-second" }