From 43c0215a6f97c0854f437a09e9a38f22576550cf Mon Sep 17 00:00:00 2001 From: Kharec Date: Sat, 3 Jan 2026 11:41:29 +0100 Subject: [PATCH] feat: define ratio-based table columns --- auditui/constants.py | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/auditui/constants.py b/auditui/constants.py index 28ca5ad..6bfaeb4 100644 --- a/auditui/constants.py +++ b/auditui/constants.py @@ -9,7 +9,13 @@ DEFAULT_CODEC = "LC_128_44100_stereo" MIN_FILE_SIZE = 1024 * 1024 DEFAULT_CHUNK_SIZE = 8192 -TABLE_COLUMNS = ("Title", "Author", "Length", "Progress", "Downloaded") +TABLE_COLUMN_DEFS = ( + ("Title", 4), + ("Author", 3), + ("Length", 2), + ("Progress", 1), + ("Downloaded", 1), +) AUTHOR_NAME_MAX_LENGTH = 40 AUTHOR_NAME_DISPLAY_LENGTH = 37