in Education by
I have tried weight options and such for my frame but nothing seemed to work. I have the following tables, in separate frames as I wish to delete the second one depending on the OptionMenu choice. How would I go about doing this with the following code? # Not complete code, just taken areas where I've created frames and added maybe a widget choice_frame = Frame(win1, bg='black') choice_frame.grid(row=2, column=1, sticky="ew", padx=1, pady=1) choice_title = Label(choice_frame, text='Value %g'% float(i+1), bg='white', borderwidth=0, width=0) choice_title.grid(row=0, column=column+i, sticky="nsew", padx=1, pady=1) box=Entry(choice_frame, bg='white', borderwidth=0, width=0, textvariable=svar) box.grid(row=1, column=column+i, sticky="ew", padx=1, pady=1) frame_table = Frame(win1, bg='black') frame_table.grid(row=2, column=0, padx=1, pady=1) text_table1 = Label(frame_table, text='Bearing Number', bg='white', borderwidth=0, width=0) text_table1.grid(row=1, column=0, sticky="nsew", padx=1, pady=1) empty1 = Label(frame_table, bg='white', borderwidth=0, width=0) empty1.grid(row=2, column=0, sticky="nsew", padx=1, pady=1) If more code is required please let me know. The choice_frame is in a separate definition, if that was to make a difference as well. Although I created the frame outside the definition and created the boxes inside. JavaScript questions and answers, JavaScript questions pdf, JavaScript question bank, JavaScript questions and answers pdf, mcq on JavaScript pdf, JavaScript questions and solutions, JavaScript mcq Test , Interview JavaScript questions, JavaScript Questions for Interview, JavaScript MCQ (Multiple Choice Questions)

1 Answer

0 votes
by
if all you want is for the second frame to be the same height as the first frame, use sticky values of "nsew" -- you're omitting the "n" and "s" which means it doesn't expand to fill the container. If you really want it the same size (width and height, plus columns widths) it's going to take more work.

Related questions

0 votes
    So, I am creating an application which displays song lyrics for entered songs, however, longer songs do not ... Questions for Interview, JavaScript MCQ (Multiple Choice Questions)...
asked Apr 21, 2022 in Education by JackTerrance
0 votes
    I want to bind two data frames with different set of columns and I also want to retain all the columns that fails to ... do that in R? Select the correct answer from above options...
asked Jan 23, 2022 in Education by JackTerrance
0 votes
    I wrote the following code to quickly grab and display information from Wikipedia. It works great unless the ... Questions for Interview, JavaScript MCQ (Multiple Choice Questions)...
asked May 13, 2022 in Education by JackTerrance
0 votes
    I have made a chatroom where users can messages to each other but I want to add a upload file ... JavaScript Questions for Interview, JavaScript MCQ (Multiple Choice Questions)...
asked Apr 20, 2022 in Education by JackTerrance
0 votes
    I'm creating a button in Tkinter and I wanted to create rounded corners, other posts suggested using an ... Questions for Interview, JavaScript MCQ (Multiple Choice Questions)...
asked Apr 16, 2022 in Education by JackTerrance
0 votes
    I want a program of mine to show up in the taskbar, but still not have the traditional windows ... JavaScript Questions for Interview, JavaScript MCQ (Multiple Choice Questions)...
asked Mar 4, 2022 in Education by JackTerrance
0 votes
    I want to draw arrows (that change size dynamically) within a Label or any other widget. I have ... JavaScript Questions for Interview, JavaScript MCQ (Multiple Choice Questions)...
asked Feb 25, 2022 in Education by JackTerrance
0 votes
    I need to find a way to clear the Listbox for the refresh function which I am making. The function should ... clearing the Listbox) Select the correct answer from above options...
asked Jan 18, 2022 in Education by JackTerrance
0 votes
    There are 30 cards, of same size, in a bag on which numbers 1 to 30 are written. One card is taken out of ... is not divisible by 3. Select the correct answer from above options...
asked Nov 25, 2021 in Education by JackTerrance
0 votes
    A bag contains a red ball, a blue ball and a yellow ball, all the balls being of the same size. Kritika takes ... ? (iii) blue ball? Select the correct answer from above options...
asked Nov 18, 2021 in Education by JackTerrance
0 votes
    I am trying to create a java program that performs a login against an achievo instance. I am trying ... Questions for Interview, JavaScript MCQ (Multiple Choice Questions)...
asked Feb 27, 2022 in Education by JackTerrance
0 votes
    I am trying to create a java program that performs a login against an achievo instance. I am trying ... Questions for Interview, JavaScript MCQ (Multiple Choice Questions)...
asked Feb 26, 2022 in Education by JackTerrance
0 votes
    The four most frequently used types of data objects in R are vectors, matrices, data frames and ________ (a) ... Out of R Programming Select the correct answer from above options...
asked Feb 13, 2022 in Education by JackTerrance
0 votes
    By what function we can create data frames? (a) Data.frames() (b) Data.sets () (c) Function () (d) C ... In and Out of R Programming Select the correct answer from above options...
asked Feb 13, 2022 in Education by JackTerrance
...