1
0
mirror of https://github.com/ComfyFactory/ComfyFactorio.git synced 2025-03-17 20:58:13 +02:00

Update gui

replace align with horizontal_align
This commit is contained in:
Gerkiz 2019-02-26 20:12:29 +01:00 committed by GitHub
parent 7b3540dfbb
commit b96b7dc584
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -249,7 +249,7 @@ local function player_list_show(player, sort_by)
label.style.bottom_padding = 3
label.style.minimal_width = 36
label.style.maximal_width = 36
--label.style.align = "right"
label.style.horizontal_align = "right"
local str = ""
if sort_by == "name_asc" then str = symbol_asc .. " " end
@ -436,4 +436,4 @@ local function on_player_joined_game(event)
end
event.add(defines.events.on_player_joined_game, on_player_joined_game)
event.add(defines.events.on_gui_click, on_gui_click)
event.add(defines.events.on_gui_click, on_gui_click)