To all interested in scalability of the widgets in Tk 8.7: I have just filed a ticket regarding the ttk::checkbutton and ttk::radiobutton
indicators of the clam theme. See
https://core.tcl-lang.org/tk/tktview/fecc86e5e0
I would welcome any comments in this newsgroup or on the ticket page.
The ticket proposes to replace the C code responsible for drawing these indicators with one using SVG-images, in order to get really professional-looking and properly scaling indicators, as shown in the screenshot
https://core.tcl-lang.org/tk/artifact/b3e191fe1c300b7b
The new implementation is completed and fully tested. The question is:
*Should it be incorporated in Tk 8.7b1, which will be released soon? *
Hi Csaba,
Am 16.02.23 um 10:57 schrieb nemethi:
The ticket proposes to replace the C code responsible for drawing
these indicators with one using SVG-images, in order to get really
professional-looking and properly scaling indicators, as shown in
the screenshot
https://core.tcl-lang.org/tk/artifact/b3e191fe1c300b7b
The new implementation is completed and fully tested. The question
is:
*Should it be incorporated in Tk 8.7b1, which will be released soon?
*
since this is not a change in functionality, but "only" the looks, and
it is a massive improvement especially for high resolution screens, I
would rather consider it as a bugfix, and therefore can and should be integrated any time soon.
Regards,
Christian
The new implementation is completed and fully tested. The question is:
*Should it be incorporated in Tk 8.7b1, which will be released soon? *
I would highly appreciate to hear your opinion regarding this subject.
Many thanks in advance for your feedback!
On 2/16/2023 4:57 AM, nemethi wrote:
The new implementation is completed and fully tested. The question is:
*Should it be incorporated in Tk 8.7b1, which will be released soon? *
I would highly appreciate to hear your opinion regarding this subject.
Many thanks in advance for your feedback!
Yes, definitely!
How about regular checkbutton and radiobutton widgets? Are they covered
as well?
Yes, in Tk built from trunk the Tk core checkbutton and radiobutton
widgets on both X11 and Windows are scaling-aware too, meaning that they
will be scaled automatically, according to the display's DPI scaling
level. The C code for X11 was joint work by Brian Griffin and myself.
Christian Gollwitzer <[email protected]> writes:
Hi Csaba,
Am 16.02.23 um 10:57 schrieb nemethi:
The ticket proposes to replace the C code responsible for drawing
these indicators with one using SVG-images, in order to get really
professional-looking and properly scaling indicators, as shown in
the screenshot
https://core.tcl-lang.org/tk/artifact/b3e191fe1c300b7b
The new implementation is completed and fully tested. The question
is:
*Should it be incorporated in Tk 8.7b1, which will be released soon?
*
since this is not a change in functionality, but "only" the looks, and
it is a massive improvement especially for high resolution screens, I
would rather consider it as a bugfix, and therefore can and should be
integrated any time soon.
+1
Am 15.02.23 um 13:30 schrieb nemethi:
To all interested in scalability of the widgets in Tk 8.7: I have
just filed a ticket regarding the ttk::checkbutton and
ttk::radiobutton indicators of the clam theme. See
https://core.tcl-lang.org/tk/tktview/fecc86e5e0
I would welcome any comments in this newsgroup or on the ticket page.
As mentioned in that ticket, the indicators of the ttk::checkbutton and ttk::radiobutton widgets of the clam theme don't look really good,
especially on a scaled screen, as shown in the screenshot
https://core.tcl-lang.org/tk/artifact/03910bf53627cc03
The ticket proposes to replace the C code responsible for drawing these indicators with one using SVG-images, in order to get really professional-looking and properly scaling indicators, as shown in the screenshot
https://core.tcl-lang.org/tk/artifact/b3e191fe1c300b7b
The new implementation is completed and fully tested. The question is:
*Should it be incorporated in Tk 8.7b1, which will be released soon? *
I would highly appreciate to hear your opinion regarding this subject.
Many thanks in advance for your feedback!
Csaba
| Sysop: | Keyop |
|---|---|
| Location: | Huddersfield, West Yorkshire, UK |
| Users: | 715 |
| Nodes: | 16 (3 / 13) |
| Uptime: | 156:28:13 |
| Calls: | 12,093 |
| Calls today: | 1 |
| Files: | 15,000 |
| Messages: | 6,517,738 |