expressobits / inventory-system

Modular inventory system for godot 4 with nodes, compatible with multiplayer, separate logic from the UI, Using items as separate resources.
MIT License
490 stars 31 forks source link

If the inventory UI has 1 row, it shouldnt have scrollbar #133

Closed TheYellowArchitect closed 1 month ago

TheYellowArchitect commented 1 month ago

This is in my case where I want to have a "hotbar" but since the inventory is 6 items, i dont need a hotbar, i can just have the entire inventory there. But it has a vertical scrollbar, even though there is nothing to scroll.

scriptsengineer commented 1 month ago

This is easily done by turning off vertical scrolling in the example. image image

Anyway later you can remove these scroll nodes.