Last active
July 18, 2024 21:29
-
-
Save don1138/697f5fd271a06df4cabbbfb4e12f0157 to your computer and use it in GitHub Desktop.
Revisions
-
don1138 renamed this gist
Sep 23, 2020 . 1 changed file with 0 additions and 0 deletions.There are no files selected for viewing
File renamed without changes. -
don1138 revised this gist
Sep 23, 2020 . No changes.There are no files selected for viewing
-
don1138 revised this gist
Sep 13, 2020 . No changes.There are no files selected for viewing
-
don1138 revised this gist
Sep 13, 2020 . 1 changed file with 1 addition and 1 deletion.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -1,7 +1,7 @@ // Get screen width and subtract Safe Area margins var containerWidth:CGFloat = UIScreen.main.bounds.width - 32.0 // Set frame width of each column using (containerWidth * percentage) HStack (spacing:0) { HStack { Text("Column 25% Width") -
don1138 revised this gist
Sep 13, 2020 . 1 changed file with 1 addition and 1 deletion.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -1,7 +1,7 @@ // Get screen width and subtract Safe Area margins var containerWidth:CGFloat = UIScreen.main.bounds.width - 32.0 // Set Frame Width of each column using (containerWidth * percentage) HStack (spacing:0) { HStack { Text("Column 25% Width") -
don1138 revised this gist
Sep 13, 2020 . 1 changed file with 0 additions and 2 deletions.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -1,9 +1,7 @@ // Get screen width and subtract Safe Area margins var containerWidth:CGFloat = UIScreen.main.bounds.width - 32.0 // Set Frame Width of each Columns using (containerWidth * percentage) HStack (spacing:0) { HStack { Text("Column 25% Width") -
don1138 created this gist
Sep 13, 2020 .There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,20 @@ // Get screen width and subtract Safe Area margins var containerWidth:CGFloat = UIScreen.main.bounds.width - 32.0 // Set Frame Width of each Columns using (containerWidth * percentage) HStack (spacing:0) { HStack { Text("Column 25% Width") } .frame(width: containerWidth * 0.25) HStack { Text("Column 25% Width") } .frame(width: containerWidth * 0.25) HStack { Text("Column 50% Width") } .frame(width: containerWidth * 0.5) }