Skip to content

[Bug]: Aspect Ratio locking and MinHeight/Width appear incompatible #37305

Closed

Description

@carterbs

Preflight Checklist

Electron Version

22.0.0

What operating system are you using?

macOS

Operating System Version

13.2

What arch are you using?

arm64 (including Apple Silicon)

Last Known Working Electron version

No response

Expected Behavior

IF a BW has minHeight of 300
AND an aspect ratio of X.
The BW should never get smaller than 300px tall.

Actual Behavior

It's tough to describe but it appears as though minHeight is either ignored, or being scaled in some way.

Testcase Gist URL

No response

Additional Information

No response

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions