Skip to content

How do I simply zoom to fit the contents? #62

@JasonRodman

Description

@JasonRodman

I cant seem to find a simple way to automatically zoom to fit the contents of the component when it first loads. I have tried zoomToFit but it requires me to tell it the size of the content to fit, and it doesn't seem to work as I would expect. I was hoping just calling zoomToFit without any parameters would work, but it fails. I dont want to resort to having to measure things or do math just to have it fit its content to the viewport.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions