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:
parent
f5350a26a0
commit
f86cedc2ef
5
info.lua
5
info.lua
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user