Does this look familiar? You are trying to create a consistent layout for multiple symbols that have noticeably different widths or heights.

Here's how you can solve this problem in SwiftUI using the .frame modifier, font styles, and the @ScaledMetric property wrapper! 🧵

Before + After
1 / 2
Post image
Post image

Comments