Add listbox gui element
Add listbox gui element
This already exists in the game but can't be used in mods, which is a shame. Please add it, nothing more to say here
Re: Add listbox gui element
If anyone is interested, I was able to achieve the desired result by abusing buttons.
I still think this should be added.
I still think this should be added.
- Attachments
-
- listbox.png (2.92 KiB) Viewed 1532 times
-
- listbox.lua
- (2.33 KiB) Downloaded 82 times
Re: Add listbox gui element
For the image, you probably just need 3 pixels with 3 different colors.
If listbox element is implemented, it will be great if it optionally supports shift and ctrl operations like the ones in my Creative Mode:
The current implementation is far from generic, so it is not easy to use it for another mod.
If listbox element is implemented, it will be great if it optionally supports shift and ctrl operations like the ones in my Creative Mode:
The current implementation is far from generic, so it is not easy to use it for another mod.
Re: Add listbox gui element
Oh that's kinda neat. You should make it generic and get it included into stdlib!