Ticket UUID: | de0c219db21a71466283f7bb87dad4cb55346c48 | |||
Title: | Use platform placeholder text colors as defaults | |||
Type: | RFE | Version: | 8.7 | |
Submitter: | chrstphrchvz | Created on: | 2020-07-14 10:23:30 | |
Subsystem: | 07. [entry] | Assigned To: | fvogel | |
Priority: | 5 Medium | Severity: | Cosmetic | |
Status: | Closed | Last Modified: | 2020-08-24 13:06:38 | |
Resolution: | Fixed | Closed By: | fvogel | |
Closed on: | 2020-08-24 13:06:38 | |||
Description: |
TIP #496 ([11fcd2c708]) added support for placeholder text in Entry widgets. The default | |||
User Comments: |
fvogel added on 2020-08-24 13:06:38:
Merged into trunk. fvogel added on 2020-08-15 07:45:59: A few further commits later (to make use of the updated mac color files - thanks Marc!, and to update the documentation), I believe this rfe branch is ready to be merged into trunk. I will proceed soon, unless new comments gets submitted. fvogel added on 2020-07-14 21:54:07: Now done (both the revert and the ttk widgets adaptation). Please see the rfe branch. Comments? Thanks! fvogel added on 2020-07-14 21:13:49: Indeed. I have reworked this, see the rfe branch. I have updated the documentation as well. I tried to use the same color name on Windows as on macOS. This led to name this color There is still the ttk::entry widget to deal with. chrstphrchvz added on 2020-07-14 17:11:57: Sorry for the confusion: I had referred to the system colors as named by platforms' APIs; they need to first be defined in tkWinColor.c, tkMacOSXColor.c, etc., before they're ready to be used in tkWinDefault.h, tkMacOSXDefault.h, etc. So on Aqua, the color would likely be named I also do not currently know if there is a better alternative for X11. fvogel added on 2020-07-14 16:34:10: Thanks for making this observation. I have committed the change you suggest in [5fc386f85b]. A few remarks/questions:
|