In my function here in python is there a way to ahve all the elements in the media_controls grid conform to the size of the pane which is 60 pixels? I am only worried about verticality as it is cutting off certain parts of my buttons and bars but it is leaving too much blank space in between them (vertically) which is why they aren't fitting:

def __init__(self, root):
        self.playlist = []
        self.root = root
        self.last_dir = "/"
        self.file_dialog_open = False
        self.control_frame_visible = True
        self.current_song_index = -1
        self.full_screen = False
        self.cursor_position_unchanged_counter = 0
        self.previous_cursor_position = (-1, -1)
        self.video_loaded = False
        self.is_playing = False
        self.is_seeking = False

        # Frame for VLC video
        self.vlc_frame = tk.Frame(root, bg="black")
        self.vlc_frame.grid(row=0, column=0, sticky="nsew")

        # Control frame for playlist and file operations
        self.control_frame = tk.Frame(root)
        self.control_frame.place(x=650, y=0, width=150, relheight=1)

        # Frame for media controls below the VLC frame
        self.media_controls = tk.Frame(root)
        self.media_controls.grid(row=1, column=0, sticky="ew") 

        # VLC initialization
        self.instance = vlc.Instance()
        self.media_player = self.instance.media_player_new()
        root.after(0, self.set_vlc_window)

        # File explorer label and buttons
        label = Label(self.control_frame, text='File Explorer', width=20, height=2, fg='blue')
        label.grid(row=0, column=0, padx=10, pady=10)

        button_explore = Button(self.control_frame, text='Browse Files', command=self.browseFiles)
        button_explore.grid(row=1, column=0, padx=10, pady=10)

        button_directory = Button(self.control_frame, text='Add Directory', command=self.addDirectory)
        button_directory.grid(row=2, column=0, padx=10, pady=10)

        self.button_play = Button(self.control_frame, text='Play Music', command=self.play_music)
        self.button_play.grid(row=3, column=0, padx=10, pady=10)

        self.listbox = Listbox(self.control_frame)
        self.listbox.grid(row=4, column=0, padx=10, pady=10)

        # Media control buttons using grid layout
        self.button_prev_track = Button(self.media_controls, text='<< Previous', command=self.prev_track)
        self.button_prev_track.grid(row=1, column=0, padx=5, pady=(2, 0))  # Increased top padding, closer to bottom

        self.button_rewind = Button(self.media_controls, text='<< Rewind', command=self.rewind)
        self.button_rewind.grid(row=1, column=1, padx=5, pady=(2, 0))  # Increased top padding, closer to bottom

        self.button_play_pause = Button(self.media_controls, text='Play', command=self.toggle_play_pause)
        self.button_play_pause.grid(row=1, column=2, padx=5, pady=(2, 0))  # Increased top padding, closer to bottom

        self.button_forward = Button(self.media_controls, text='Fast Forward >>', command=self.fast_forward)
        self.button_forward.grid(row=1, column=3, padx=5, pady=(2, 0))  # Increased top padding, closer to bottom

        self.button_next_track = Button(self.media_controls, text='Next >>', command=self.next_track)
        self.button_next_track.grid(row=1, column=4, padx=5, pady=(2, 0))  # Increased top padding, closer to bottom

        self.button_stop = Button(self.media_controls, text='Stop', command=self.stop)
        self.button_stop.grid(row=1, column=5, padx=5, pady=(2, 0))  # Increased top padding, closer to bottom

        # Volume control slider
        self.volume_control = Scale(self.media_controls, from_=0, to=100, orient=HORIZONTAL, command=self.set_volume)
        self.volume_control.set(60)
        self.volume_control.grid(row=1, column=6, padx=5, pady=(2, 0))  # Increased top padding, moved slightly up

        # Seek bar above the buttons
        self.seek_bar = Scale(self.media_controls, from_=0, to=100, orient=HORIZONTAL, length=200, command=self.seek)
        self.seek_bar.grid(row=0, column=0, columnspan=7, sticky="ew", pady=(2, 0))  # Slim vertical padding, closer to buttons

        # Time labels within the media controls frame
        self.current_time_label = Label(self.media_controls, text="0:00")
        self.current_time_label.grid(row=1, column=7, padx=(10, 5), pady=(5, 0))  # Aligned to the right of the buttons, increased top padding

        # Bindings for seek bar
        self.seek_bar.bind("<Button-1>", self.on_seek_start)
        self.seek_bar.bind("<ButtonRelease-1>", self.on_seek_end)

        # Root and frame configurations
        self.root.columnconfigure(0, weight=1)
        self.root.rowconfigure(0, weight=1)
        self.root.rowconfigure(1, weight=0)
        self.root.bind('<Configure>', self.adjust_elements)
        self.vlc_frame.bind("<Configure>", self.update_vlc_window_size)

        # Timer for hiding controls and other initializations
        self.hide_controls_timer = None
        self.poll_mouse_position()
        self.update_seek_bar()