For very large scales with very small windows the enum list calculation of how many rows might fit can result in zero, causing problems with a later division. clamping this to a minimum of one fixes this and causes no harm. This calculation is just a hint on how to behave, whether to show lists in columns or not, etc. Lists still display fine even when this variable reaches this minimum. Pull Request: https://projects.blender.org/blender/blender/pulls/136265