1
0
mirror of https://github.com/Refactorio/RedMew.git synced 2025-01-18 03:21:47 +02:00

changed tab button style

This commit is contained in:
grilledham 2018-08-14 11:36:55 +01:00
parent f5350a26a0
commit f86cedc2ef

View File

@ -568,6 +568,11 @@ local function draw_main_frame(center, player)
for index, page in ipairs(pages) do
local button_flow = tab_flow.add {type = 'flow'}
local button = page.tab_button(button_flow, player)
local button_style = button.style
button_style.left_padding = 3
button_style.right_padding = 3
Gui.set_data(button, {index = index, data = data})
tab_buttons[index] = button