4k HiDPI displays and tkinter
Vasilis Vlachoudis <[email protected]> Mon, 12 Jul 2021 17:13:18 +0000
| Newsgroups | gmane.comp.python.tkinter |
|---|---|
| Message-ID | <[email protected]> |
--===============8922553143256171344== Content-Language: en-US Content-Type: multipart/alternative; boundary="_000_0BC70B5D93E054469872FFD0FE07220E033835CDD9CERNXCHG54cer_" --_000_0BC70B5D93E054469872FFD0FE07220E033835CDD9CERNXCHG54cer_ Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Recently I've got a 4k laptop, and the first experience with linux and the = 4k display is quite painful. I am still trying to tune it but for the moment my tkinter applications do = not render nicely on such a display. - all widths like borderwidths, decorations, separators etc, set in pixels = do not scale with the dpi settings. Could we use "mm" for their settings in= stead? - checkbox, radiobox the indicator appears tiny wrt the text Is there a way to detect from tkinter a high res display and force a window= scaling x2 for everything? What is your experience with such displays? Vasilis --_000_0BC70B5D93E054469872FFD0FE07220E033835CDD9CERNXCHG54cer_ Content-Type: text/html; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable <html dir=3D"ltr"> <head> <meta http-equiv=3D"Content-Type" content=3D"text/html; charset=3Diso-8859-= 1"> <style type=3D"text/css" id=3D"owaParaStyle"></style> </head> <body fpstyle=3D"1" ocsi=3D"0"> <div style=3D"direction: ltr;font-family: Tahoma;color: #000000;font-size: = 10pt;">Recently I've got a 4k laptop, and the first experience with linux a= nd the 4k display is quite painful. <div>I am still trying to tune it but for the moment my tkinter application= s do not render nicely on such a display.</div> <div>- all widths like borderwidths, decorations, separators etc, set in pi= xels do not scale with the dpi settings. Could we use "mm" for th= eir settings instead?</div> <div>- checkbox, radiobox the indicator appears tiny wrt the text</div> <div><br> </div> <div>Is there a way to detect from tkinter a high res display and force a w= indow scaling x2 for everything?</div> <div>What is your experience with such displays?</div> <div> <div><br> <div style=3D"font-family:Tahoma; font-size:13px"> <div style=3D"font-family:Tahoma; font-size:13px"> <div style=3D"font-size:13px; font-family:Tahoma"> <div style=3D"font-size:13px; font-family:Tahoma"><font size=3D"1"><span st= yle=3D"font-family:Helvetica">Vasilis </span><span style=3D"font-famil= y:Helvetica"><br> </span></font></div> </div> </div> </div> </div> </div> </div> </body> </html> --_000_0BC70B5D93E054469872FFD0FE07220E033835CDD9CERNXCHG54cer_-- --===============8922553143256171344== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ Tkinter-discuss mailing list [email protected] https://mail.python.org/mailman/listinfo/tkinter-discuss --===============8922553143256171344==--