Notepads: Tabulation is wrong comparing to original Notepad

Notepad: Notepad Notepads: Notepads Sample text (looks fine on GitHub as well):

1234567		tabbed
12		tabbed

About this issue

  • Original URL
  • State: open
  • Created 5 years ago
  • Reactions: 1
  • Comments: 19 (10 by maintainers)

Most upvoted comments

I also did a few tests, and seems like it’s really a bug in UWP SDK. Changing font family and font size doesn’t affect the first tabulation as well. I will try to write a bug report to Microsoft.

I think so. I changed SetDefaultTabStop

private void SetDefaultTabStop(FontFamily font, double fontSize)
{
    Document.DefaultTabStop = 200.0f;
    TextDocument.DefaultTabStop = 200.0f;
}

But it looks like the distance from 0->2 is the same as 2->3