diff --git a/tuttle/app/projects/view.py b/tuttle/app/projects/view.py index a2b371a..816da81 100644 --- a/tuttle/app/projects/view.py +++ b/tuttle/app/projects/view.py @@ -18,6 +18,7 @@ Row, Text, TextButton, + TextOverflow, Control, Alignment, Border, @@ -102,7 +103,7 @@ def __init__( size=fonts.BODY_1_SIZE, color=colors.text_primary, weight=fonts.BOLD_FONT if is_selected else None, - overflow="ellipsis", + overflow=TextOverflow.ELLIPSIS, max_lines=1, expand=True, ), @@ -116,7 +117,7 @@ def __init__( _client_title, size=fonts.BODY_2_SIZE, color=colors.text_secondary, - overflow="ellipsis", + overflow=TextOverflow.ELLIPSIS, max_lines=1, ), ), @@ -127,7 +128,7 @@ def __init__( _contract_title, size=fonts.BODY_2_SIZE, color=colors.text_secondary, - overflow="ellipsis", + overflow=TextOverflow.ELLIPSIS, max_lines=1, ), ), @@ -138,7 +139,7 @@ def __init__( date_str, size=fonts.BODY_2_SIZE, color=colors.text_muted, - overflow="ellipsis", + overflow=TextOverflow.ELLIPSIS, max_lines=1, ), ),