Unify list filter sections

This commit is contained in:
Marcel Peterkau
2026-06-27 10:36:18 +02:00
parent 04c23fbdf9
commit 8fba13aea0
2 changed files with 26 additions and 9 deletions
+10
View File
@@ -0,0 +1,10 @@
from __future__ import annotations
import tkinter as tk
from tkinter import ttk
def titled_frame(parent: tk.Misc, title: str) -> ttk.LabelFrame:
frame = ttk.LabelFrame(parent, padding=(12, 10))
frame.configure(labelwidget=ttk.Label(frame, text=title, style="TimelineHeader.TLabel"))
return frame