You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi @Gillibald, I would like to work on this feature because I needed it, but I need help designing it.
Initially I was considering adding a FixedTabWidth attached property to TextElement, but I would like to leave the door open for advanced tabs manager like Microsoft Word and Libreoffice Write do. Any suggestions?
Describe the bug
@ajkfds discovered that tabs (
\t
used for indentation) don't properly line up in AvaloniaEdit. See AvaloniaUI/AvaloniaEdit#412.This seems to be a text formatting bug in Avalonia. It can be reproduced using a simple
TextBox
.To Reproduce
Create a new Avalonia window with the following content:
Note: The TextBox content is "\ta\ta\na\ta\ta"
This creates the following output in Avalonia:
The 'a' don't line up correctly.
Expected behavior
The 'a' are expected to be aligned. Here is the same window in WPF:
Avalonia version
11.0.6
OS
Windows
Additional context
No response
The text was updated successfully, but these errors were encountered: