in reply to Re^2: Make Tk Optionmenu same height as Button
in thread Make Tk Optionmenu same height as Button
Sure it may be platform dependent.
I cannot prove it without seeing your code, but I don't think so.
The -pady values (without suffixes) are in pixels. The symptoms you describe (1 too small; 2 too big), are indicative that the y padding is being added both above and below. And that is indicative that the button is being packed with the default -anchor value which is centre.
You should find that if you adjust the packing so that it is no longer centered, the -pady will only be added to one edge, allowing you to match it to the Optionmenu size with -pady =>1.
By the way what is this 'map' thing?
See map.
|
|---|