Author terry.reedy
Recipients terry.reedy
Date 2018-09-23.06:09:11
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <>
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.
Date User Action Args
2018-09-23 06:09:12terry.reedysetrecipients: + terry.reedy
2018-09-23 06:09:12terry.reedysetmessageid: <>
2018-09-23 06:09:11terry.reedylinkissue34774 messages
2018-09-23 06:09:11terry.reedycreate