Menu

#305 Selection text illegible on Mac OS X

open-duplicate
tile (215)
5
2009-12-03
2009-12-03
No

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

In the treeview case above, the stop-gap fix is:

ttk::style map Treeview \
-background { {selected background} systemHighlightSecondary selected systemHighlight } \
-foreground { {selected background} systemDialogInactiveText selected white }

Joe mentioned on the Tclers Chat that: There doesn't appear to be a kThemeTextColorXyzzy constant that contrasts with "HighlightColor" to replace "white" with in a platform sound way.

Discussion

  • Joe English

    Joe English - 2009-12-03
    • status: open --> open-duplicate
     
  • Joe English

    Joe English - 2009-12-03

    Refiled as Tk artifact #2908379.

     

Log in to post a comment.

MongoDB Logo MongoDB