good question, I would like an answer too.
You need too take in to account what kind of items too, say armours are in one line when you select it.
So how many items of one type can you hold before the icons start to shrink during battle when you select one?