Mike Apurin on Nostr: nprofile1q…rmd38 one thing is that in most cases composing padding like that helps ...
nprofile1qy2hwumn8ghj7un9d3shjtnddaehgu3wwp6kyqpq5mlsk26z49ynfwv9m0ncuwzpkzr0nuyvjazjv7mg0l66xwjq2z2s9rmd38 (nprofile…md38) one thing is that in most cases composing padding like that helps convey intent. If I want padding around edges, but more on left/right
.padding(8)
.padding(.horizontal, 8)
reads better than
.padding(top: 8, leading: 16, bottom: 8, trailing: 16)
.padding(8)
.padding(.horizontal, 8)
reads better than
.padding(top: 8, leading: 16, bottom: 8, trailing: 16)