Tk Source Code

View Ticket
Login
Ticket UUID: 1b33bbae49cc36e4ff595d5f52c601baac2610ac
Title: Tabs on macOS have noticable visual overlap/cutoff issues
Type: Bug Version: 9.0.2
Submitter: anonymous Created on: 2025-10-27 11:26:05
Subsystem: 02. Appearance Assigned To: nobody
Priority: 5 Medium Severity: Minor
Status: Open Last Modified: 2025-10-31 11:09:07
Resolution: None Closed By: nobody
    Closed on:
Description:

Tabs on macOS visibly overlap with each other, and the right-most tab is cut off.

Here's an image of the issue: https://i.sstatic.net/M6fvFM7p.png

Example code to reproduce the issue:

from tkinter import *
from tkinter import ttk

root = Tk()
root.geometry("400x600")

notebook = ttk.Notebook(root)

first_tab = ttk.Frame(notebook)
notebook.add(first_tab, text="one")

second_tab = ttk.Frame(notebook)
notebook.add(second_tab, text="two")

third_tab = ttk.Frame(notebook)
notebook.add(third_tab, text="three")

notebook.pack(fill="both", expand=1)

root.mainloop()

(Image and example code are from https://stackoverflow.com/q/79761277/4901968, but the issue also reproduces on my machine running macOS Sonoma 14.8 with the example code, IDLE's settings GUI, and my own application.)

User Comments: nab added on 2025-10-31 11:09:07:
Hi Jan,

there's a proposal here:
https://core.tcl-lang.org/tk/tktview/cf296ac849

++

jan.nijtmans added on 2025-10-31 10:49:11:

Would it be possible to have a look at for Tk 9.0.3?