Thanks for the bug report. It's an interesting one, especially coming back after not really having touched these scripts in many many years.
I think the Take All/Lots needs to be have a bit of a rethink. If you only have space for 3, then maybe it makes more sense to not show an option that says "Take 5".
But yeah, take all should take as many as you have room for.
I'll have a look over stuff this weekend and get all the add-ons working, and test it with Theo's Limited Inventory script, and (hopefully) fix this bug.
Also, I hope you don't feel put out by the readonly script basically be the same as yours. I felt a bit weird editing your script to remove the space padding and then giving that as an option of yours, because that would be putting your name to something I'd edited (and so something you might no longer want your name on). And I also wanted to split up the space padding from the readonly script, as they feel like separate things. That said, there are tiny adjustments from your script to mine (I think! I wrote it pretty late at night). But using a size of -1 made sense. I've also made it specifically -1 in case someone comes along with other ideas that might potentially use -2, -3, etc.
@kyonides: I think, depending on your needs obviously, using a box might make certain things easier. The example that springs to mind is a mailbox. Where the game might deliver letters throughout the story, and the player might not have to read them at any given time. You definitely could do that with eventing (eventing is just coding in a different way!), I would find it easier to use a readonly box, and just add 'letter' items to it throughout the game.