ウィンドウの最小幅を縮小し、柔軟なUI表示に対応
- WindowGroupのframe指定でminWidthを600から200へ変更
This commit is contained in:
@@ -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