Skip to content

Unintended CenterY #171

@didebbo

Description

@didebbo

Screenshot of code
Screenshot of view debug

As you can see, without explicitly specifying the CenterY constraint, it is still being applied to the subviews, causing this unintended centralized effect.

Using the layout: align(tops: |-10--boxOne--10--boxTwo--10-|),
boxTwo gets stretched and no longer takes its height based on its content.

It would be ideal to have additional layout options such as anchorTo(.top | .bottom | .leading | .trailing).

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions