Support resizable app windows on macOS
Los mantenedores suelen responder en 1 día
Nadie ha tomado este issue todavía.
Evaluación
- Dificultad
- 3/5
- Tiempo estimado
- 1-2 días
- Aptitud para principiantes
- 65/100
Línea de trabajo
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.
Escrito por el modelo de indexación a partir del texto del issue.
Descripción
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.
- Lenguaje dominante
- Swift
- Estrellas
- 2.5k
- Forks
- 84
- Merge medio
- 3 h 22 min
- PR fusionados (30 d)
- 78
Preparar el entorno
- Sin Dockerfile ni archivo de Docker Compose
- Tiene una plantilla de pull request
- Leer la guía de contribución
Primeros pasos
- Lee el issue completo y luego la guía de contribución del proyecto.
- Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
- Haz un fork del repositorio y trabaja en una rama.
- Abre un pull request que haga referencia al número del issue.
Más de OpenSwiftUIProject/OpenSwiftUI
-
Implement the symbol effect APIAbiertoarea: animation area: graphics area: rendering area: view platform: iOS platform: macOS platform: visionOS type: feature
Dificultad 5/5 Más de una semana Aptitud para principiantes 35/100
OpenSwiftUIProject/OpenSwiftUI#1199 · 1 reacción ·
Los mantenedores suelen responder en 1 día
-
area: rendering impact: visual-diff platform: iOS type: bug
Dificultad 3/5 1-2 días Aptitud para principiantes 65/100
OpenSwiftUIProject/OpenSwiftUI#1192 ·
Los mantenedores suelen responder en 1 día
-
area: graphics platform: visionOS priority: p2 type: feature
Dificultad 4/5 3-5 días Aptitud para principiantes 55/100
OpenSwiftUIProject/OpenSwiftUI#1178 ·
Los mantenedores suelen responder en 1 día
-
Track visionOS supportAbiertoarea: compatibility area: hosting-bridge area: rendering platform: visionOS priority: p1 type: feature
Dificultad 5/5 Más de una semana Aptitud para principiantes 28/100
OpenSwiftUIProject/OpenSwiftUI#1171 ·
Los mantenedores suelen responder en 1 día
-
area: text type: feature
Dificultad 4/5 1-2 días Aptitud para principiantes 48/100
OpenSwiftUIProject/OpenSwiftUI#1167 ·
Los mantenedores suelen responder en 1 día
Todos los issues de OpenSwiftUIProject/OpenSwiftUI
Issues similares
-
host-ios R2 blocker Stability
Dificultad 1/5 Menos de una hora Aptitud para principiantes 70/100
paritytech/trinity-user-agents#1661 ·
Los mantenedores suelen responder en 1 día
-
bug
Dificultad 1/5 Menos de una hora Aptitud para principiantes 76/100
logto-io/logto#9837 · 1 comentario ·
Los mantenedores suelen responder en 1 día
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 68/100
Los mantenedores suelen responder en 1 día
-
area: ios S3: minor
Dificultad 2/5 1-3 horas Aptitud para principiantes 74/100
manaflow-ai/cmux#24404 · 1 comentario ·
Los mantenedores suelen responder en 1 día
-
enhancement
Dificultad 2/5 1-3 horas Aptitud para principiantes 68/100
Los mantenedores suelen responder en 1 día