| Author |
Trouble with menu entry with both icon and label (compound)
|
|
|
| I have a problem only on Windows platforms, not unix:
I create a compound menu with an icon and a label. Trouble is:
the icon is badly displayed until visited by the mouse pointer.
Any help would be appreciated...
Thanks!
David.
------------------------------
Simple example:
menu .m -tearoff 0
image create photo img -file {C:\WINDOWS\Web\bullet.gif}
..m add command -compound left -image img -label "foo"
..m post 100 100
| |
| Aric Bills 2004-12-21, 4:00 pm |
| I'm unable to reproduce the problem on Windows XP with Tcl/Tk 8.4.9 and
8.5.0a2. The icon looks fine whether the mouse is over it or not. What
versions of Windows and Tcl/Tk are you dealing with?
| |
| Jeff Hobbs 2004-12-21, 8:57 pm |
| David wrote:
> I have a problem only on Windows platforms, not unix:
> I create a compound menu with an icon and a label. Trouble is:
> the icon is badly displayed until visited by the mouse pointer.
This is a known issue only when you have the fade or scrolling
effect turned on for menus.
--
Jeff Hobbs, The Tcl Guy
http://www.ActiveState.com/, a division of Sophos
| |
| Pat Thoyts 2004-12-30, 3:59 pm |
| Jeff Hobbs <jeffh@removethis.activestate.com> writes:
>David wrote:
>
>This is a known issue only when you have the fade or scrolling
>effect turned on for menus.
>
Which is, unfortunately, the default.
--
Pat Thoyts http://www.zsplat.freeserve.co.uk/resume.html
To reply, rot13 the return address or read the X-Address header.
PGP fingerprint 2C 6E 98 07 2C 59 C8 97 10 CE 11 E6 04 E0 B9 DD
|
|
|
|