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

Поиск
Список
Период
Сортировка
От Ryan Trinkle
Тема [pgadmin-hackers] [pgAdmin3][Patch]: Fix query viewer row height for High-DPI screens
Дата
Msg-id CAHNEpiz=f62X+-7PqciCmap-948+TEtC6+CxHcjj=eHSofhR1g@mail.gmail.com
обсуждение исходный текст
Ответы Re: [pgadmin-hackers] [pgAdmin3][Patch]: Fix query viewer row height for High-DPI screens
Список 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
Вложения

В списке pgadmin-hackers по дате отправления:

Предыдущее
От: Dave Page
Дата:
Сообщение: Re: [pgadmin-hackers] CSS Focus Bug Fix
Следующее
От: Shirley Wang
Дата:
Сообщение: [pgadmin-hackers] [Design update] Style guide for pgAdmin4