i was writing a gui for a small desktop application i made as a part of learning python.I use python 2.7.I used Tkinter.I am new to python and this was my first trial with Tkinter.
First i created 9 buttons arranged in the form of a 3*3 matrix and set the image of the button as None.
for i in range(1,10):
l.grid(row = rows, column =cols,sticky = W+E+N+S,)
what i wanted to do is when i click on any of the buttons an image need to be displayed on the button.
for this i used another function.
The problem i face is that when all the 9 buttons are filled with images the whole frame containing the grid of buttons shrinks and move to the center of the parent container frame
Thanks in advance