I have just filed a ticket containing an implementation proposal for replacing the old-fashioned, ugly Motif-style indicators for the ttk::checkbutton and ttk::radiobutton widgets of the "default" theme
with modern-looking and fully scaling-aware SVG images. See
https://core.tcl-lang.org/tk/tktview/5009984635
The ticket contains also three screenshots demonstrating the nice,
modern look of the new indicators.
The implementation is contained in the fossil branch "new-default-indicators", which I would like to merge into trunk so it
can go into Tk 8.7b1.
Comments in this newsgroup or on the above ticket page are welcome.
Csaba
Am 09.05.23 um 20:05 schrieb saitology9:images. See
On 5/8/2023 12:54 PM, nemethi wrote:
I have just filed a ticket containing an implementation proposal for replacing the old-fashioned, ugly Motif-style indicators for the ttk::checkbutton and ttk::radiobutton widgets of the "default" theme with modern-looking and fully scaling-aware SVG
https://core.tcl-lang.org/tk/tktview/5009984635
The ticket contains also three screenshots demonstrating the nice, modern look of the new indicators.
The implementation is contained in the fossil branch "new-default-indicators", which I would like to merge into trunk so it can go into Tk 8.7b1.
Comments in this newsgroup or on the above ticket page are welcome.
Csaba
Looks great! It gets my vote.
By the way, if you could also add a screenshot of the original/Motif-style version, the difference would be easy to see by anyone.
Thanks a lot for your positive feedback and your suggestion! I have just attached a screenshot showing the old Motif-style widgets.
On 5/9/2023 11:35 AM, nemethi wrote:
Am 09.05.23 um 20:05 schrieb saitology9:
On 5/8/2023 12:54 PM, nemethi wrote:
I have just filed a ticket containing an implementation proposal for
replacing the old-fashioned, ugly Motif-style indicators for the
ttk::checkbutton and ttk::radiobutton widgets of the "default" theme
with modern-looking and fully scaling-aware SVG images. See
https://core.tcl-lang.org/tk/tktview/5009984635
The ticket contains also three screenshots demonstrating the nice,
modern look of the new indicators.
The implementation is contained in the fossil branch
"new-default-indicators", which I would like to merge into trunk so
it can go into Tk 8.7b1.
Comments in this newsgroup or on the above ticket page are welcome.
Csaba
Looks great! It gets my vote.
By the way, if you could also add a screenshot of the
original/Motif-style version, the difference would be easy to see by
anyone.
Thanks a lot for your positive feedback and your suggestion! I have
just attached a screenshot showing the old Motif-style widgets.
I too think that the indicator for a checked box should be a check-mark.
And also that a non-checked box indicated by a white filled square.
That makes it clear that the box is unchecked. Paper forms with
check-boxes look like that.
However, the unset state, with a - sign with a dark colored background
wasn't so obvious to me. I think I might prefer using a black - against a white background. Some windows programs I've seen use a small rectangle
for an unset checkbox.
If I were designing this, I might even try a small ? to indicate the
unknown
or unset state against a white background.
But either way, definitely an improvement.
Am 14.05.23 um 03:55 schrieb et99:SVG images. See
On 5/9/2023 11:35 AM, nemethi wrote:
Am 09.05.23 um 20:05 schrieb saitology9:
On 5/8/2023 12:54 PM, nemethi wrote:
I have just filed a ticket containing an implementation proposal for replacing the old-fashioned, ugly Motif-style indicators for the ttk::checkbutton and ttk::radiobutton widgets of the "default" theme with modern-looking and fully scaling-aware
was previously in selected state). The aqua themes draws a white dash on blue background, and the vista theme does the same on Windows 11 (on earlier Windows versions it used to draw a black square on white background). (The implementation of the vista
https://core.tcl-lang.org/tk/tktview/5009984635
The ticket contains also three screenshots demonstrating the nice, modern look of the new indicators.
The implementation is contained in the fossil branch "new-default-indicators", which I would like to merge into trunk so it can go into Tk 8.7b1.
Comments in this newsgroup or on the above ticket page are welcome.
Csaba
Looks great! It gets my vote.
By the way, if you could also add a screenshot of the original/Motif-style version, the difference would be easy to see by anyone.
Thanks a lot for your positive feedback and your suggestion! I have just attached a screenshot showing the old Motif-style widgets.
I too think that the indicator for a checked box should be a check-mark.
And also that a non-checked box indicated by a white filled square.
That makes it clear that the box is unchecked. Paper forms with
check-boxes look like that.
However, the unset state, with a - sign with a dark colored background
wasn't so obvious to me. I think I might prefer using a black - against a
white background. Some windows programs I've seen use a small rectangle
for an unset checkbox.
If I were designing this, I might even try a small ? to indicate the unknown >> or unset state against a white background.
But either way, definitely an improvement.
The way a theme indicates that one of its ttk::checkbutton widgets is in the alternate (tri-state) state is theme-specific. For example, the alt and clam themes just change the background color of the box (and keep the check mark if the checkbutton
My main goal with providing a new implementation of the ttk::checkbutton and ttk::radiobutton indicators was to replace their old Motif-style look with a modern one, and the use of a white dash for the alternate state seems to have become the standardboth in Ttk and on the modern desktops.
* et99 <[email protected]>
| On 5/14/2023 5:13 AM, nemethi wrote:
| > The way a theme indicates that one of its ttk::checkbutton widgets
| > is in the alternate (tri-state) state is theme-specific. For
| > example, the alt and clam themes just change the background color of
| > the box (and keep the check mark if the checkbutton was previously
| > in selected state). The aqua themes draws a white dash on blue
| > background, and the vista theme does the same on Windows 11 (on
| > earlier Windows versions it used to draw a black square on white
| > background). (The implementation of the vista theme makes use of
| > the Microsoft Visual Styles API, whose drawing engine on Windows 11
| > draws a white dash rather than a black square). Most modern Gtk
| > themes also display the alternate state of their native checkbuttons
| > like the Ttk themes aqua and vista.
| > My main goal with providing a new implementation of the
| > ttk::checkbutton and ttk::radiobutton indicators was to replace
| > their old Motif-style look with a modern one, and the use of a white
| > dash for the alternate state seems to have become the standard both
| > in Ttk and on the modern desktops.
| So, windows 11 changes this. That figures. Wasn't windows 10 supposed
| to be the last version of windows :)
| Yes, I don't like the alt and clam approach. Very confusing.
| On windows, I've only seen the little black square once in a text
| editor preference setting, and I don't even remember what it was used
| for. So, it is likely to be rare.
| But that's when a self-explanatory ? might have been useful.
| That was my thinking.
IMHO from a user's point of view the tri-state is only confusing.
A checkbox/radiobutton is either selected or not selected. Any other
symbol (and even different ones in different contexts!) only makes me
wonder "What does that mean? Is it checked?" (Imagine a single checkbox showing the minus-sign.)
If none of the checkboxes/radiobuttons is selected - so be it! The
tri-state is - probably - information for the programmer, but not for
the end-user. If the program requires a selection, you need to check
anyway on 'Ok' and give a hint to the user how to proceed.
Remedy is easy though, just set the connected variable, so the tri-state
does not trigger.
My €0.01
R'
A checkbox/radiobutton is either selected or not selected. Any other
symbol (and even different ones in different contexts!) only makes me
wonder "What does that mean? Is it checked?" (Imagine a single checkbox showing the minus-sign.)
| Sysop: | Keyop |
|---|---|
| Location: | Huddersfield, West Yorkshire, UK |
| Users: | 715 |
| Nodes: | 16 (2 / 14) |
| Uptime: | 143:58:21 |
| Calls: | 12,089 |
| Calls today: | 2 |
| Files: | 15,000 |
| Messages: | 6,517,477 |