Change padding

(Was causing the gui width to change when entity expanded)
This commit is contained in:
badgamernl
2020-09-07 05:11:29 +02:00
parent f76d8b0a3a
commit a01ba807f5

View File

@@ -239,7 +239,7 @@ Gui.element(function(event_trigger, parent)
local tables = {} local tables = {}
-- Draw a section for the element -- Draw a section for the element
local entity_table = section(scroll_table, setting.entity, 3) local entity_table = section(scroll_table, setting.entity, 3)
entity_table.style.padding = 5 entity_table.style.padding = 3
-- Loop over each item category -- Loop over each item category
for _, category in pairs(config.categories) do for _, category in pairs(config.categories) do
if not table_sizes[category] then table_sizes[category] = 0 end if not table_sizes[category] then table_sizes[category] = 0 end