0

I would like to build a screen with SwiftUI which consists out of three HStacks. Each of these HStacks has a VStack with a button and some text under the button. How can I make sure that the buttons are all aligned in the center regardless how long the text may be?

ulrike_hansel
  • 115
  • 1
  • 6
  • Please add some code and design for what you want. – Raja Kishan Jan 16 '21 at 10:08
  • The three H Stacks need to be contained in some other view (eg a VStack), but apart from that, as far as I can see, the layout that you're asking for is default SwiftUI behaviour for a VStack in an HStack. – Kramer Jan 16 '21 at 15:08

0 Answers0