I tried to make a mod out of this but i don't see how that is possible. Ctrl+F6 gives this info about the slot:
Basically i have tried setting all padding's to 0, width/height, natural_width/height from 36 to 38 but nothing works. Code like this should practically change the slots style:
Code: Select all
local style = data.raw["gui-style"].default
style.slot_button.padding = 0