mirror of
https://github.com/PHIDIAS0303/ExpCluster.git
synced 2026-11-20 07:23:13 +09:00
Change padding
(Was causing the gui width to change when entity expanded)
This commit is contained in:
1 parent
f76d8b0a3a
commit
a01ba807f5
1 file changed
+1
-1
@@ -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
|
||||||
|
|||||||
Reference in new issue
Block a user