I know pgAdmin III isn't still actively maintained, but I figured I'd send this here in case it's useful to anyone else. It changes the way that the default row height in the data viewer (ctlSQLGrid) is calculated, so that the wxFont is asked for the height in pixels rather than in points. I haven't tested this on low-DPI screens, but the calculation seems very accurate on my setup, and I think using GetPixelSize is right, based on the wxFont documentation.