Small comments cleanup

This commit is contained in:
DevilXD committed 2024-12-15 11:04:28 +01:00
1 parent 2c5f56b33b
commit 6b64b94b34
3 files changed
+4 -3

No files matched your search

+2 -1
View File
@@ -2046,7 +2046,8 @@ class GUIManager:
)
# add padding to the tab names
style.configure("TNotebook.Tab", padding=[8, 4])
if theme != "classic" and sys.platform != "darwin": # Skip these for classic theme or macOS
# Skip these for classic theme or macOS
if theme != "classic" and sys.platform != "darwin":
# remove Notebook.focus from the Notebook.Tab layout tree to avoid an ugly dotted line
# on tab selection. We fold the Notebook.focus children into Notebook.padding children.
original = style.layout("TNotebook.Tab")