From a01ba807f5fa58fb8764dc6bf6c71d316546ab3d Mon Sep 17 00:00:00 2001 From: badgamernl Date: Mon, 7 Sep 2020 05:11:29 +0200 Subject: [PATCH] Change padding (Was causing the gui width to change when entity expanded) --- modules/gui/autofill.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/gui/autofill.lua b/modules/gui/autofill.lua index 12625886..20d2ef49 100644 --- a/modules/gui/autofill.lua +++ b/modules/gui/autofill.lua @@ -239,7 +239,7 @@ Gui.element(function(event_trigger, parent) local tables = {} -- Draw a section for the element local entity_table = section(scroll_table, setting.entity, 3) - entity_table.style.padding = 5 + entity_table.style.padding = 3 -- Loop over each item category for _, category in pairs(config.categories) do if not table_sizes[category] then table_sizes[category] = 0 end