I am learning & working to create GUIs with python functions. but when creating buttons and text entry using the grid(), below the buttons alignments are changing.
before showing text entry,
after showing text entry,
I am learning & working to create GUIs with python functions. but when creating buttons and text entry using the grid(), below the buttons alignments are changing.
before showing text entry,
after showing text entry,
You're adding a wide element to a narrow column, so the column expands to fit the entry.
In your case you probably want to add columnspan=2
(or 3, or 4, depending on what you want to happen) when you add the entry to the display.