Use .gridCellColumns To Specify When a View Should Span Multiple Grid Columns
Daily Coding Tip 161
I started by creating a simple view that pads a Text
and gives it an outline.
This is mainly so I won’t need to repeat myself, as I’ll be creating 5 of these inside my Grid
. The string that will be displayed by the Text
will be passed in, along with the Color
that will be given to the .border
modifier for the outline.
Keep reading with a 7-day free trial
Subscribe to Type Safely to keep reading this post and get 7 days of free access to the full post archives.