Monospaced TextBlock using Segoe WP font

I have a numeric value that ranges from 100 to 500 that changes every second or so. Since the numeric characters for Segoe WP are variable width, the text jumps over when it changes.

Using Segoe WP font in XAML file; Is there a way to make numeric (or any) rendering of text with monospaced (fixed width) characters?

+3


source to share


1 answer


A workaround is to use the "Segoe UI" font family instead, which is monospaced and is reasonably similar.



+6


source







All Articles