If you set the window height of the inspector it will try to respect that setting. If less height is needed it will reduce the window height. If more height is needed it will increase the height until it reaches the "set" window height.
Thanks Malcolm - it was the "respect that setting" bit that was tripping me up. Got it now.