Replies: 1 comment 1 reply
-
it is possibe. The TextView(
text: $text,
selection: $selection,
options: [.wrapLines, .highlightSelectedLine, .showLineNumbers]
)
.textViewFont(.monospacedSystemFont(ofSize: 14, weight: .medium)) unfortunately, the |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Is it possible to get a monospaced font in the SwiftUI component? I see the "TextEdit" demo is monospaced but the "Text Editor (SwiftUI)" is the default system font, and the font color doesn't seem to respond to the dark mode environment variable.
Beta Was this translation helpful? Give feedback.
All reactions