devide the header frame in two frames. Upper header frame has the data label and the settings label. Lower Frame: has the fitlers. Python 3.12 code:     def create_header_frame(self):
        """Create the header that spans columns 1 and 2 in row 0."""
        header_frame = self._create_frame(
            parent=self.root,
            width=None,
            bg=self.background_color
        )
        header_frame.grid(row=0, column=1, columnspan=2, sticky='ew')
        header_frame.config(height=self.header_height)
        header_frame.grid_propagate(False)
        
        header_frame.grid_rowconfigure(0, weight=0)
        header_frame.grid_rowconfigure(1, weight=0)
        
        header_frame.grid_columnconfigure(0, weight=0)
        header_frame.grid_columnconfigure(1, weight=0)
        header_frame.grid_columnconfigure(2, weight=0)
        header_frame.grid_columnconfigure(3, weight=0)
        header_frame.grid_columnconfigure(4, weight=1)
        
        data_label = tk.Label(
            header_frame,
            text="Data > ",
            bg=self.background_color,
            fg=self.header_info_font_color,
            font=self.header_info_font
        )
        data_label.grid(row=0, column=0, padx=24, pady=(24, 0), sticky='nw')
        
        self.table_name_label = tk.Label(
            header_frame,
            text=self.current_table_name if self.current_table_name else "No Table Selected",
            bg=self.background_color,
            fg=self.text_color,
            font=self.header_info_font
        )
        self.table_name_label.grid(row=0, column=0, padx=(90, 10), pady=(24, 0), sticky='nw')

        filter_label = tk.Label(
            header_frame,
            text="Filter: ",
            bg=self.background_color,
            fg=self.text_color
        )
        filter_label.grid(row=1, column=0, padx=(100, 0), pady=20, sticky='e')
              
        self.filter_header_dropdown = ttk.Combobox(
            header_frame,
            textvariable=self.filter_header_var,
            state="readonly",
            width=15
        )
        self.filter_header_dropdown['values'] = ["All"]
        self.filter_header_dropdown.grid(row=1, column=1, padx=0, pady=0, sticky='w')
        self.filter_header_dropdown.bind("<<ComboboxSelected>>", lambda _: self.apply_filter())
              
        self.filter_option_dropdown = ttk.Combobox(
            header_frame,
            textvariable=self.filter_option_var,
            state="readonly",
            width=15,
        )
        self.filter_option_dropdown['values'] = [
            "is", "is not", "contains", "does not contain",
            "starts with", "ends with", "is empty", "is not empty"
        ]
        self.filter_option_dropdown.grid(row=1, column=2, padx=0, pady=0, sticky='w')
        self.filter_option_dropdown.bind("<<ComboboxSelected>>", self.update_filter_text_state)
        
        self.filter_text_entry = tk.Entry(
            header_frame,
            textvariable=self.filter_text_var,
            fg=self.text_color,
            width=20
        )
        self.filter_text_entry.grid(row=1, column=3, padx=0, pady=0, sticky='w')
        self.filter_text_entry.bind("<KeyRelease>", lambda _: self.apply_filter())
        
        settings_label = tk.Label(
            header_frame,
            text="...",
            bg=self.background_color,
            fg=self.text_color,
            cursor="hand2",
            anchor='e'
        )
        settings_label.grid(row=0, column=4, padx=40, pady=20, sticky='e')
        
        settings_menu = tk.Menu(self.root, tearoff=0)
        settings_menu.add_command(label="Export Table", command=self.export_table)
        settings_menu.add_command(label="Import Table", command=self.import_file)
        settings_menu.add_command(label="Rename Headers", command=self.rename_headers)
        
        settings_label.bind("<Button-1>", lambda e: settings_menu.post(e.x_root, e.y_root))
        settings_label.bind("<Enter>", lambda _: settings_label.config(bg=self.button_color_selected))
        settings_label.bind("<Leave>", lambda _: settings_label.config(bg=self.background_color))