How to get size of a given element (eg. button)
I am trying to get the size of a button. The button’s frame size is dynamic based on the text size. How can I do this? I tried wrapping this in a GeometryReader, and reading the geo.size.height, etc, but this returned 10 every time, and messed up the layout (somehow actually gave the button that… Read More How to get size of a given element (eg. button)