From: SourceForge.net <no...@so...> - 2009-10-23 16:05:08
|
Patches item #1530276, was opened at 2006-07-28 12:13 Message generated for change (Comment added) made by danckaert You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=312997&aid=1530276&group_id=12997 Please note that this message will contain a full copy of the comment thread, including the initial issue submission, for this request, not just the latest update. Category: 03. [*button] and [label] Group: None Status: Open Resolution: None Priority: 9 Private: No Submitted By: Koen Danckaert (danckaert) Assigned to: Allen Flick (caflick) Summary: checkbutton selectcolor not honoured (unix only) Initial Comment: When a checkbutton without indicator (-indicatoron 0) is selected, its background should be changed to its -selectcolor option. Currently this happens only when the mouse cursor is not over the checkbutton, i.e. when it is not active. This is very strange and it is not according to the documentation of -selectcolor, which says: "If indicatorOn is false, this color is used as the background for the entire widget, in place of background or activeBackground, whenever the widget is selected." Attached patch brings the code in line with the documentation. Note: this also applies to radiobuttons. ---------------------------------------------------------------------- >Comment By: Koen Danckaert (danckaert) Date: 2009-10-23 18:05 Message: Best way to see that the current behaviour is strange, is with the old 8.4 look & feel. Just do pack [checkbutton .c -text foo -indicatoron 0] in wish8.4 and look at the background color when you check the button. ---------------------------------------------------------------------- Comment By: Donal K. Fellows (dkf) Date: 2009-10-23 17:43 Message: Certainly sounds like the right thing to do for radiobuttons; need to think a little more about checkbuttons... ---------------------------------------------------------------------- Comment By: Donal K. Fellows (dkf) Date: 2009-01-06 14:56 Message: Issue prio raised following prompting, and noting that the patch has been tested "in service" by Jos Decoster. ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=312997&aid=1530276&group_id=12997 |