Show mesh grid cells in tkinter

Is there a trick to show the cells of the grid layout (or cell borders) when using it to have a visual representation of what is going on behind the scenes?

I searched a bit, but haven’t found anything yet.

+5
source share
1 answer

If you provide a color to the containing frame and use the options to add padding between cells, the background will leak out through the gaps. This only works where there are widgets. If you have spaces that are empty, you will not see grid lines.

, . "grid" - , , . , . , .

- , , , , , .

, , , - . , . , .

+8

All Articles