getHeight

Playing with a mock up of a data field. This demonstrates a challenge. I use dc.getHeight() to determine relative text placement. At least for the Edge 1030 in the simulator, the bottom data field thinks it is taller than the actual screen real estate. I write a version # at the bottom but it is obscured by a black nav bar. Is there a better function that returns the actual visible height of a data field?