New submission from Athanasius <[email protected]>:
Having recently looked into UI Scaling for an application I help develop I became aware with an issue involving tkinter.ttk.RadioButton and Windows UI Scaling. When you have some UI Scaling set along with dpiAware set true you might find that radio buttons are mis-rendered. The usual manifestation of this is that the last button will be properly sized initially, with the others being undersized. If you even only mouse-over the 'correct' radio button it will then become undersized as well. For more detail see: https://github.com/Athanasius/tk-radio-buttons NB: This *has* been fixed upstream in the Tcl/Tk source, but I see they've not made a new release since 8.6.10 in November 2019. Thus this issue is more in the way of a heads up about a bug others might encounter, and will have to wait for newer Tcl/Tk in some version of Python for it to be fixed. See https://core.tcl-lang.org/tk/info/3c6660b6f0bed337 for the issue and fix. ---------- components: Tkinter messages: 378171 nosy: Athanasius priority: normal severity: normal status: open title: ttk.RadioButtons mis-sized under Windows 10 UI Scaling, with dpiAware set true type: behavior versions: Python 3.9 _______________________________________ Python tracker <[email protected]> <https://bugs.python.org/issue41969> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
