Currently the SpawnInventory UI will always show the standard 1,20, 50 for amount of an Inventory that can be spawned, but (appropriately I believe) will only spawn up to the max stack size), however, this does have a potential for confusion, as if someone clicks on, for example, the button to spawn 50 power cells, they would reasonably expect to be spawning 50 powercells not only 5.
So, while working on another PR, I toyed with making it not display options higher than it can spawn, and if it's max stack size is less than 50, have one button for the max stack size. Basically having what the UI shows match what it will actually do (and less buttons that do the same thing for things with really small stack sizes.
This is what it looks like (also with localized names, because that's the PR I'm working on):

Currently the SpawnInventory UI will always show the standard 1,20, 50 for amount of an Inventory that can be spawned, but (appropriately I believe) will only spawn up to the max stack size), however, this does have a potential for confusion, as if someone clicks on, for example, the button to spawn 50 power cells, they would reasonably expect to be spawning 50 powercells not only 5.
So, while working on another PR, I toyed with making it not display options higher than it can spawn, and if it's max stack size is less than 50, have one button for the max stack size. Basically having what the UI shows match what it will actually do (and less buttons that do the same thing for things with really small stack sizes.
This is what it looks like (also with localized names, because that's the PR I'm working on):
