From 0528393f2fdb307df06a45d28c79f998c12a3904 Mon Sep 17 00:00:00 2001 From: jze9 Date: Mon, 6 Apr 2026 15:58:29 +0500 Subject: [PATCH] fix --- web/designer.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/web/designer.py b/web/designer.py index 5d2355f..a75e20c 100644 --- a/web/designer.py +++ b/web/designer.py @@ -48,13 +48,14 @@ class colors: border = "#DDE3EA" # Светло-серая граница class CastomText(ft.Text): - def __init__(self, text, size=14, color=colors.text_primary, weight=ft.FontWeight.NORMAL): + def __init__(self, text, size=14, color=colors.text_primary, weight=ft.FontWeight.NORMAL, **kwargs): super().__init__( value=text, color=color, size=s(size), weight=weight, max_lines=99, + **kwargs, )