Back to Blog
To set the width of entry widget you should use relwidth = 0>x>1 Instead you can define two separate frames one for the heading and one for the mainentry and use grid in one and place in the other very easily. They will be stuck in an eternal struggle for supremacy.īoth place and grid can not be used simultaneously. The other will see the changes, and so on ad infinitum. The first will see these changes and resize everything again to fit its constraints. The other will see the change, and resize everything to fit it's own constraints. The first one will adjust the size of the widget. If you want an Entry widget in your program, You cannot use both place and grid on widgets that have the same master. The application you are working on might need a listbox not an Entry widget The content of Label widget can not be edited by the user and its size and font can also be defined easily. Hello i ran the given code and following is the outputįirst of all if you intend to make a "MUSIC PLAYER" then you should use Label widget of Tkinter for the HEADING of the application instead of using Entry widget.
0 Comments
Read More
Leave a Reply. |