Skip to content

Images always use .scaledToFit #422

@dfabulich

Description

@dfabulich

When using SwiftUI Image, you can use .scaledToFit, .scaledToFill, or use no modifier to disable scaling.

SkipUI seems to always use .scaledToFit. In ImagePlayground in SkipUI 1.53.1, all three of the variation images look the same. (It does work if you use .aspectRatio() with a contentMode.)

iOS Android
Image Image

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