1
0
mirror of https://github.com/ComfyFactory/ComfyFactorio.git synced 2025-01-10 00:43:27 +02:00

update science log : added horizontal lines

This commit is contained in:
Masamune 2019-12-31 00:11:26 +01:00
parent 16d60dc211
commit 3aed8ad6f0

View File

@ -270,7 +270,7 @@ local function draw_stats_gui(player)
-- List management
local science_panel_table = frame.add { type = "scroll-pane", name = "scroll_pane", direction = "vertical", horizontal_scroll_policy = "never", vertical_scroll_policy = "auto"}
science_panel_table.style.maximal_height = 530
science_panel_table = science_panel_table.add { type = "table", name = "science_panel_table", column_count = 4 }
science_panel_table = science_panel_table.add { type = "table", name = "science_panel_table", column_count = 4, draw_horizontal_lines = true }
if global.science_logs_date then
for i = 1, #global.science_logs_date, 1 do
local label = science_panel_table.add { type = "label", name = "science_logs_date" .. i, caption = global.science_logs_date[i] }