I can't replicate your problem on my system (Perl 5.004.04 on Sun Solaris, running Tk 400.202) - it seems to align OK for me.
Something I did notice is that you're using only alternate rows in the grid when you're laying out the widgets. With my version of Tk, this has the same effect as using consecutive rows: grid doesn't leave any extra space for the empty rows.
It's possible that it's this that's causing the bad alignment in your version of Perl/Tk, and it might be worth trying using consecutive rows, and then adding additional spacing using the ipad and pad options to increase the size of the cells, if that's what you needed/were trying to do.
Alternatively, it's maybe worth looking at pack or one of the other layout managers, and seeing if they can do what you need any more reliably.
Hope that helps.
-- Foxcub
#include www.liquidfusion.org.uk
In reply to Re: Tk Misalignment
by Tanalis
in thread Tk Misalignment
by Lhamo_rin
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |