I have some vstack views, and a zstack view (its a dropdown menu).
I need the top of the zstack view to align itself perfectly with the text of VStack 2 Text like this
I think I need to utilize named coordinate spaces, but I have been unsuccessful in accomplishing this
You can use a custom
alignmentGuide
:But a much easier way for a dropdown menu would be using either
.contextMenu
(appearing on long press)or a Menu style picker: