The default for the amount of buttons for tabs with production chains is 10, i've been manually changing it to 30 (which is ok on fullhd) for a while, but I feel like it should be configurable.
What I'm changing is:
[code]-------------------------------------------------------------------------------
-- Get or create action panel
--
-- @function [parent=#MainTab] getActionPanel
--
function MainTab.methods:getActionPanel()
local parent_panel = self:getMenuPanel()
if parent_panel["action_panel"] ~= nil and parent_panel["action_panel"].valid then
return parent_panel["action_panel"]
end
local panel = ElementGui.addGuiTable(parent_panel, "action_panel", 30, helmod_table_style.list)
return panel
end
-- Get or create index panel
-- @function [parent=#MainTab] getIndexPanel
function MainTab.methods:getIndexPanel()
local parent_panel = self:getMenuPanel()
if parent_panel["index_panel"] ~= nil and parent_panel["index_panel"].valid then
return parent_panel["index_panel"]
end
local panel = ElementGui.addGuiTable(parent_panel, "index_panel", 30, helmod_table_style.list)
return panel
end[/code]
I'm not sure if this is fully correct, but works for me