fix
This commit is contained in:
@@ -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,
|
||||
)
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user