Make Text Attributes Keyword-Only
Closed this issue · 0 comments
mad-moo commented
rio.Text
currently accepts a whole bunch of parameters whose order nobody is likely to remember. Convert most of them over to be keyword-only.
text: str
selectable: bool = True
style: ...
justify: Literal["left", "right", "center", "justify"] = "center"
wrap: bool | Literal["ellipsize"] = False