Is there a way to read how much minimumScaleFactor has changed a font size by? I suspect there's not but it would be a very handy addition to SwiftUI.
My problem is that I have a number of text boxes linked together with VStacks and HStacks all in a larger view. Using minimumScaleFactor I can rescale text to fit the alloted size however once this size is found I need some of the other text boxes to adopt the same size font and line spacing. There is only one box I need to completely fill - the others should be the same font size so they line up and I don't have a mish-mash of different sizes.
If I were able to read the scaling used to fit text into the first box I could then use this number to calculate and set the size of the fonts elsewhere.
Perhaps there's a better method?