This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author terry.reedy
Recipients terry.reedy
Date 2018-09-23.06:09:11
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1537682952.02.0.956365154283.issue34774@psf.upfronthosting.co.za>
In-reply-to
Content
If HelpText is ever subclassed from a view text class, the color_config and call will be deleted.  But changing the two fixed colors will be needed in any case.

The background option in
  self.tag_configure('pre', font=(fixedfont, 12), background='#f6f6ff')
was intended to give fixed-pitch words a very light bluish background, but I cannot see any difference, so deleting it is no loss.

For the pre block, "background='#eeffcc'" gives the block a yellow background that matches the one used in online docs, as viewed by me with Firefox.  So it is made conditional on the foreground color being the default solid black (which is different from tk's 'black').

Border colors appear to be fixed at some black, making the border invisible on a black or near-black background.  But it does not seem worthwhile to try to decide when to omit it.
History
Date User Action Args
2018-09-23 06:09:12terry.reedysetrecipients: + terry.reedy
2018-09-23 06:09:12terry.reedysetmessageid: <1537682952.02.0.956365154283.issue34774@psf.upfronthosting.co.za>
2018-09-23 06:09:11terry.reedylinkissue34774 messages
2018-09-23 06:09:11terry.reedycreate