NichtStudioCode / InvUI

A spigot library for creating custom inventory-based GUIs.
MIT License
242 stars 19 forks source link

How to Creating a scalable auto-adjusting size inventory #40

Closed ShellWen closed 1 year ago

ShellWen commented 1 year ago

Hi there,

I am facing an issue related to the Inventory interface in our project. Currently, we have an implementation called VirtualInventory that does not include the width and height properties. However, the VirtualInventory does have a size property.

My goal is to create a custom Inventory implementation that can automatically adjust its size based on the items it contains. I'm seeking guidance on how to achieve this effectively.

Any suggestions or code examples on how to approach this problem would be greatly appreciated. Thank you in advance for your assistance!