Clear questions and runnable code get the best and fastest answer |
|
PerlMonks |
Re^4: Placement of image with Tk::Compound and Tk::Menuby ldln (Pilgrim) |
on Jul 05, 2006 at 11:57 UTC ( [id://559314]=note: print w/replies, xml ) | Need Help?? |
Had look at the widget demo and found a solution but other problems appeared also. The solution is to use "-hidemargin =>1" option on each menuitem. I tried this option before posting my query, but apparently if we don't use "-hidemargin =>1" on all menuitems under a menubar entry, it just won't work. So it seems that indivdual menuitems can't be controlled - they all eiter have a margin or they don't. Well, I can live with that. But now there are two other problems:
1) On the Checkbutton menuitem, the "hook" no longer appears. How could we solve these issues?
In Section
Seekers of Perl Wisdom
|
|