mirror of
https://git.hiabuto.net/C3MA/CCMA.git
synced 2026-07-02 11:40:13 +02:00
Unify list filter sections
This commit is contained in:
@@ -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
|
||||
Reference in New Issue
Block a user