Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

What's funny is that Apple themselves are not helping.

If I use the following SwiftUI code, I get a button that's 24.5 x 22.5.

    Button(action: {}, label: {
        Image(systemName: "magnifyingglass")
            .imageScale(.large)
    })
The .imageScale modifier is set to the largest! That button is abysmally small. You can use padding of course, and that's what I do. I suspect I'm missing something, but I can't see a reason why .large gives me an unusably small image.


Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: