rio-labs/rio

Make Text Attributes Keyword-Only

Closed this issue · 0 comments

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