I have the following toolbar button:
Button(action: {}, label: {
Text("Button")
.padding()
})
.hoverEffect()
When I hover the button with a mouse on iPad, a rectangle with square corners appears. I've tried using the cornerRadius and clipShape modifiers to make the corners rounded with no luck. Is there a way to accomplish this in SwiftUI? I would like it match the hover effect on the navigation bar back button.
Post
Replies
Boosts
Views
Activity
Is there a way for a view to span multiple columns or rows when using LazyVGrid or LazyHGrid?
I'm trying to make a calendar and would like to have a row that is the month and year label. I've tried using several LazyVGrid in a LazyVStack, but the scrolling performance seemed pretty poor, so I'm trying to see if I can make a single LazyVGrid work.