Skip to content

Align function enhancement; add new 'relative=true/false' argument #35

Description

@luciansmith

If I set the layout size to 1000,1000, call autolayout, then align some element (i.e. 'alignTop'), sometimes the position of those elements is not in the appropriate swath of the layout: when I call 'alignTop', for example, nine times out of 10, the Y value is 30, and often it's in the 30's to 200's. But sometimes it's close to the middle, like '432'. I think that's too far off to really say that's at the 'top' of the layout; it's more like the hCenter.

One time, I got 'nan' values, which is also not ideal, but I don't know how to reliably get that to repeat.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions