1
0
mirror of https://github.com/Oarcinae/FactorioScenarioMultiplayerSpawn.git synced 2024-12-14 10:23:17 +02:00

Seems like the last dev push reverted this change. Wtf are the devs doing.

This commit is contained in:
Oarcinae 2017-12-23 15:34:39 -05:00
parent bf2cb79137
commit 49e2a79bab
2 changed files with 3 additions and 3 deletions

View File

@ -545,7 +545,7 @@ local function ExpandPlayerListGui(player)
name="playerList-panel",
direction = "vertical"}
ApplyStyle(scrollFrame, my_player_list_fixed_width_style)
scrollFrame.can_scroll_horizontally = false
scrollFrame.horizontal_scroll_policy = "never"
for _,player in pairs(game.connected_players) do
local caption_str = player.name.." ["..player.force.name.."]".." ("..formattime_hours_mins(player.online_time)..")"
local text = scrollFrame.add{type="label", caption=caption_str, name=player.name.."_plist"}

View File

@ -475,7 +475,7 @@ function DisplaySharedSpawnOptions(player)
ApplyStyle(shGui, my_fixed_width_style)
shGui.style.maximal_width = SPAWN_GUI_MAX_WIDTH
shGui.style.maximal_height = SPAWN_GUI_MAX_HEIGHT
shGui.can_scroll_horizontally = false
shGui.horizontal_scroll_policy = "never"
for spawnName,sharedSpawn in pairs(global.sharedSpawns) do
@ -590,7 +590,7 @@ function ExpandSpawnCtrlGui(player, tick)
name="spwn_ctrl_panel", caption=""}
ApplyStyle(spwnCtrls, my_fixed_width_style)
spwnCtrls.style.maximal_height = SPAWN_GUI_MAX_HEIGHT
spwnCtrls.can_scroll_horizontally = false
spwnCtrls.horizontal_scroll_policy = "never"
if ENABLE_SHARED_SPAWNS then
if (global.uniqueSpawns[player.name] ~= nil) then