Skip to content

Add SizeMode enum that determines what sizing rules an element uses #39

Open

Description

@Ellpeck

Something like this, where Auto is the default and uses the current value-based behavior:

public enum SizeMode {
    Auto,
    Absolute,
    PercentageOfParent,
    PercentageOfSelf
}

There should probably be independent values for the X and Y axes so that this makes sense (since the current behavior allows independent X and Y axes as well)

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 requestmlem.uiRelated to MLEM.Ui

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions