-
Notifications
You must be signed in to change notification settings - Fork 35
cellWidth is negative #16
Copy link
Copy link
Open
Description
struct ContentView: View {
// Setup
init() {
UITableView.appearance().backgroundColor = .clear
// UITableViewCell.appearance().backgroundColor = .clear
}
var body: some View {
NavigationView{
Sidebar()
.navigationTitle("Recon")
GridStack(minCellWidth: 300, spacing: 2, numItems: 15) { (index, cellWidth) in
Text("\(index)")
.frame(width: cellWidth, height: 100)
.background(Color.blue)
}
}
}
}Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels
