| Ticket UUID: | 2908379 | |||
| Title: | ttk:* widgets - selection text illegible on Mac OS X | |||
| Type: | Bug | Version: | None | |
| Submitter: | jenglish | Created on: | 2009-12-03 20:55:53 | |
| Subsystem: | 88. Themed Tk | Assigned To: | jenglish | |
| Priority: | 5 Medium | Severity: | ||
| Status: | Open | Last Modified: | 2009-12-04 04:29:41 | |
| Resolution: | None | Closed By: | ||
| Closed on: | ||||
| Description: |
peterc reports in #2908368: Selected text on Mac needs have the font as a light colour (white?) rather than black, otherwise it's unreadable: eg, http://pc.autons.net/stuff/ttk_treeview_unreadable_macosx.png and reports on the chat that ttk::entry widgets also have the same problem. I can't tell which (if any) of the kThemeTextColor* constants in Appearance.h is the right one to use. das? | |||
| User Comments: |
das added on 2009-12-04 04:29:40:
there doesn't seem to be an appearance text color for the foreground, so you probably need to use NSColor (and do the reverse conversion from what TkMacOSXGetNSColor() is doing if you need a CGColor) i.e. use [NSColor selectedTextColor] and [NSColor selectedTextBackgroundColor] jenglish added on 2009-12-04 03:55:53: File Added - 353783: ttk_treeview_unreadable_macosx.png | |||
Attachments:
- ttk_treeview_unreadable_macosx.png [download] added by chrstphrchvz on 2026-11-17 23:26:38. [details]
