Support resizable app windows on macOS
Maintainer thường phản hồi trong vòng 1 ngày
Chưa có ai nhận issue này.
Đánh giá
- Độ khó
- 3/5
- Thời gian dự kiến
- 1-2 ngày
- Mức phù hợp với người mới
- 65/100
Hướng nghiên cứu
Read the root scene content setup and the WindowGroup sizing path to locate the fixed 500x300 frame and how initial content size is chosen. Remove the fixed sizing and apply the requested minimum-size behavior with a default initial content size when the scene has none. Done when the window opens at a default size, can grow, and cannot shrink below its content's minimum size.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Mô tả
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
WindowGroupdefault 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.
- Ngôn ngữ chính
- Swift
- Star
- 2.5k
- Fork
- 84
- Merge trung bình
- 3 giờ 22 phút
- Pull request đã merge (30 ngày)
- 78
Chuẩn bị môi trường
- Không có Dockerfile hay tệp Docker Compose
- Có mẫu pull request
- Đọc hướng dẫn đóng góp
Bắt đầu từ đâu
- Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
- Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
- Fork repository và làm thay đổi trên một nhánh.
- Mở pull request có tham chiếu số hiệu của issue.
Issue khác của OpenSwiftUIProject/OpenSwiftUI
-
Implement the symbol effect APIĐang mởarea: animation area: graphics area: rendering area: view platform: iOS platform: macOS platform: visionOS type: feature
Độ khó 5/5 Hơn một tuần Mức phù hợp với người mới 35/100
OpenSwiftUIProject/OpenSwiftUI#1199 · 1 reaction ·
Maintainer thường phản hồi trong vòng 1 ngày
-
area: rendering impact: visual-diff platform: iOS type: bug
Độ khó 3/5 1-2 ngày Mức phù hợp với người mới 65/100
OpenSwiftUIProject/OpenSwiftUI#1192 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
area: graphics platform: visionOS priority: p2 type: feature
Độ khó 4/5 3-5 ngày Mức phù hợp với người mới 55/100
OpenSwiftUIProject/OpenSwiftUI#1178 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Track visionOS supportĐang mởarea: compatibility area: hosting-bridge area: rendering platform: visionOS priority: p1 type: feature
Độ khó 5/5 Hơn một tuần Mức phù hợp với người mới 28/100
OpenSwiftUIProject/OpenSwiftUI#1171 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
area: text type: feature
Độ khó 4/5 1-2 ngày Mức phù hợp với người mới 48/100
OpenSwiftUIProject/OpenSwiftUI#1167 · 1 reaction ·
Maintainer thường phản hồi trong vòng 1 ngày
Tất cả issue của OpenSwiftUIProject/OpenSwiftUI
Issue tương tự
-
product / auth product / databases product / functions product / messaging product / storage product / vcs
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 72/100
Maintainer thường phản hồi trong vòng 1 ngày
-
storage: eliminate force-unwraps and fatalError in continueStreamingUploadCó thể đã có người làm @chingor13 đã nhận hôm nay. Đang mởapi: storage type: cleanup
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 82/100
googleapis/google-cloud-swift#1527 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
ci-failure ci:assertion test
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 78/100
openwatersio/slackwater-ios#811 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
ai-assisted
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 74/100
swiftlang/swift-testing#1979 · 2 bình luận ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 63/100
Maintainer thường phản hồi trong vòng 1 ngày