示例工程 32-layout-fundamentals

32-layout-fundamentals/Sources/Ch32App/App.swift

swift · 0.4 KB

import Ch32Kit
import SwiftUI
 
@main
struct Ch32App: App {
    var body: some Scene {
        WindowGroup("布局基础") {
            VStack(alignment: .leading, spacing: 20) {
                LayoutBoard()
                WrapComparison()
            }
            .padding(24)
            .frame(minWidth: 480, minHeight: 460)
        }
        .windowResizability(.contentSize)
    }
}