mirror of
https://github.com/Textualize/textual.git
synced 2025-10-17 02:38:12 +03:00
TextJustify type to TextAlign
This commit is contained in:
@@ -57,7 +57,7 @@ from .types import (
|
||||
Specificity3,
|
||||
Specificity6,
|
||||
Visibility,
|
||||
TextJustify,
|
||||
TextAlign,
|
||||
)
|
||||
|
||||
if sys.version_info >= (3, 8):
|
||||
@@ -144,7 +144,7 @@ class RulesMap(TypedDict, total=False):
|
||||
content_align_horizontal: AlignHorizontal
|
||||
content_align_vertical: AlignVertical
|
||||
|
||||
text_align: TextJustify
|
||||
text_align: TextAlign
|
||||
|
||||
|
||||
RULE_NAMES = list(RulesMap.__annotations__.keys())
|
||||
|
||||
@@ -39,7 +39,7 @@ ScrollbarGutter = Literal["auto", "stable"]
|
||||
BoxSizing = Literal["border-box", "content-box"]
|
||||
Overflow = Literal["scroll", "hidden", "auto"]
|
||||
EdgeStyle = Tuple[EdgeType, Color]
|
||||
TextJustify = Literal["left", "center", "right", "full"]
|
||||
TextAlign = Literal["left", "start", "center", "right", "end", "justify"]
|
||||
|
||||
Specificity3 = Tuple[int, int, int]
|
||||
Specificity4 = Tuple[int, int, int, int]
|
||||
|
||||
Reference in New Issue
Block a user