Skip to content

Auto align axis horizontal vs vertical  #33

@championofblocks

Description

@championofblocks

This is surely the wrong way round?

case ALAxisVertical:
   layoutAttribute = NSLayoutAttributeCenterX;
   break;
case ALAxisHorizontal:
   layoutAttribute = NSLayoutAttributeCenterY;
   break;

Or perhaps I'm misunderstanding here? I would expect a horizontal axis alignment to centre along the X axis and a vertical axis alignment to centre along the Y axis.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions