From: SourceForge.net <no...@so...> - 2004-11-09 12:47:23
|
Bugs item #1055023, was opened at 2004-10-27 02:23 Message generated for change (Comment added) made by vincentdarley You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=112997&aid=1055023&group_id=12997 Category: 03. [*button] and [label] Group: current: 8.4.7 >Status: Closed >Resolution: Fixed Priority: 5 Submitted By: Michael Kirkham (muonics) Assigned to: Jeffrey Hobbs (hobbs) Summary: Aqua button compound changes incomplete Initial Comment: Under Aqua, configuring a button with -compound and a value other than none, then configuring it to none, only partially updates the geometry and leaves the text. This can yield strange effects such as having the button text appear in the center of the button when it is supposed to not appear at all, or shift the image out of the center of the button. e.g. pack [button .b -text Foo -image $img] .b configure -compound top .b configure -compound none The problem appears to be that the Aqua native control only has its text ("title") property changed when the text for the button changes. It does not get re-set when the compound setting changes to none. The attached patch fixes the problem for me (note the version in the diffs is from my repository, not sourceforge's). ---------------------------------------------------------------------- >Comment By: Vince Darley (vincentdarley) Date: 2004-11-09 12:47 Message: Logged In: YES user_id=32170 Applied patch to cvs HEAD. ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=112997&aid=1055023&group_id=12997 |