mirror of
https://github.com/ComfyFactory/ComfyFactorio.git
synced 2025-01-24 03:47:58 +02:00
update science log : added horizontal lines
This commit is contained in:
parent
16d60dc211
commit
3aed8ad6f0
@ -270,7 +270,7 @@ local function draw_stats_gui(player)
|
|||||||
-- List management
|
-- List management
|
||||||
local science_panel_table = frame.add { type = "scroll-pane", name = "scroll_pane", direction = "vertical", horizontal_scroll_policy = "never", vertical_scroll_policy = "auto"}
|
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.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
|
if global.science_logs_date then
|
||||||
for i = 1, #global.science_logs_date, 1 do
|
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] }
|
local label = science_panel_table.add { type = "label", name = "science_logs_date" .. i, caption = global.science_logs_date[i] }
|
||||||
|
Loading…
x
Reference in New Issue
Block a user