Skip to main content

text_alignment

Function text_alignment 

Source
fn text_alignment(
    align: TextAlign,
    direction: NSUserInterfaceLayoutDirection,
) -> NSTextAlignment
Expand description

AppKit has a natural alignment but no opposite of it, so the end follows the direction.