ウィンドウの最小幅を縮小し、柔軟なUI表示に対応
- WindowGroupのframe指定でminWidthを600から200へ変更
This commit is contained in:
1 parent
777b7a101a
commit
4d2f90f88d
1 file changed
+1
-1
@@ -5,7 +5,7 @@ struct OreCalendarApp: App {
|
|||||||
var body: some Scene {
|
var body: some Scene {
|
||||||
WindowGroup {
|
WindowGroup {
|
||||||
ContentView()
|
ContentView()
|
||||||
.frame(minWidth: 600, minHeight: 400)
|
.frame(minWidth: 200, minHeight: 400)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
Reference in new issue
Block a user