Skip to content

Support resizable app windows on macOS #1202

Description

@Kyle-Ye

Summary

On macOS, the window that an OpenSwiftUI App creates has a fixed size of 500x300. The root scene content is wrapped in a fixed frame(width:height:), so the hosting view reports equal minimum and maximum sizes, and the window cannot be resized.

Scope

  • Remove the fixed frame from the root scene content.
  • Use the WindowGroup default resizability: the content sets the window's minimum size, and the maximum size is unbounded (NSHostingSizingOptions.minSize).
  • Give the window a default initial content size when the scene does not set one.

Acceptance criteria

  • The app window opens at the default size and can be resized larger.
  • The window cannot be resized smaller than the minimum size of its content.

Activity

  1. added this to the 0.25.0 milestone on Oct 20, 2026
  2. added
    platform: macOS
    type: bug
    area: app-scene
    area: hosting-bridge
    on Oct 20, 2026
  3. added
    type: feature
    on Oct 20, 2026
  4. modified the milestones: 0.25.0, 1.0.0 on Oct 25, 2026
  5. self-assigned this
    on Oct 25, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

area: app-scenearea: hosting-bridgeplatform: macOStype: bugtype: feature

Type

No type

Projects

No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions