[pgadmin-hackers] [pgAdmin3][Patch]: Fix query viewer row height for High-DPI screens - Mailing list pgadmin-hackers

From Ryan Trinkle
Subject [pgadmin-hackers] [pgAdmin3][Patch]: Fix query viewer row height for High-DPI screens
Date
Msg-id CAHNEpiz=f62X+-7PqciCmap-948+TEtC6+CxHcjj=eHSofhR1g@mail.gmail.com
Whole thread Raw
Responses Re: [pgadmin-hackers] [pgAdmin3][Patch]: Fix query viewer row height for High-DPI screens
List pgadmin-hackers
Hi everyone,

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.


Best regards,
Ryan
Attachment

pgadmin-hackers by date:

Previous
From: Dave Page
Date:
Subject: Re: [pgadmin-hackers] CSS Focus Bug Fix
Next
From: Shirley Wang
Date:
Subject: [pgadmin-hackers] [Design update] Style guide for pgAdmin4