Search code examples
silverlightxamlwindows-phone

Monospaced TextBlock using Segoe WP font


I have a numerical value that ranges from 100-500 that changes every second or so. Because numerical characters for Segoe WP are variable widths, the text jumps when it changes.

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


Solution

  • A work around is to use the "Segoe UI" font family instead, which has monospaced numbers, and is reasonably similar.