I am using a TextField in SwiftUI for a MacOS application. I am trying to change the font size of my TextField like this...
TextField("Name", text: $s_name)
.textFieldStyle(PlainTextFieldStyle())
.padding(5)
.font(.largeTitle)
.multilineTextAlignment(.center)
The increased font size does work, however the cursor of my TextField is completed off. I have disabled the focus ring of the TextField aswell, as stated in the answer of Asperi here However the bug appears even without using this fix.
The problem appears when I press in the TextField for the first time. The cursor it totally off place and at the wrong size. If I start to type, it gets corrected.
Edit: Have reported this bug to Apple in their Feedback app.

