Fixed table center

Fixed locale
This commit is contained in:
badgamernl
2020-09-08 16:20:02 +02:00
parent a01ba807f5
commit afcd16c56e
2 changed files with 3 additions and 1 deletions

View File

@@ -86,7 +86,7 @@ main-tooltip=Autofill settings
toggle-section-caption=__1__ __2__
toggle-section-tooltip=Expand Section
toggle-section-collapse-tooltip=Collapse Section
toggle-entity-tooltip=Toggle the autofill of __1__s
toggle-entity-tooltip=Toggle the autofill of __1__
toggle-tooltip=Toggle the autofill of __1__ into __2__ slots
amount-tooltip=Amount of items to insert into the __1__ slots
invalid=Autofill set to maximum amount: __1__ __2__ for __3__

View File

@@ -233,6 +233,8 @@ Gui.element(function(event_trigger, parent)
scroll_table.parent.style.padding = 0
-- Remove the default gap that is added in a table between elements
scroll_table.style.vertical_spacing = 0
-- Center the first collumn in the table
scroll_table.style.column_alignments[1] = 'center'
-- Loop over each default entity config
for _, setting in pairs(config.default_entities) do
local table_sizes = {}