If you click on the backpack icon, your inventory screen locks open until you click the backpack icon again or move your cursor over another menu icon. Useful for woodcutting/fishing/mining to know when your bag is getting full.
or for the sake of knowing when its full, a small counter. like white text that says "28/30" that is toggled in settings tab for instance
That would work as well, better in that it would take less space. But the backpack lock would be useful for other things besides capacity. For instance fighting fire giants you would know how many foods you have left without having to mouse over.