Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

RTL text trimming shows only ellipsis #17569

Open
dme-compunet opened this issue Nov 20, 2024 · 1 comment
Open

RTL text trimming shows only ellipsis #17569

dme-compunet opened this issue Nov 20, 2024 · 1 comment
Labels

Comments

@dme-compunet
Copy link
Contributor

Describe the bug

When using TextTrimming with RTL text, only the ellipsis ("...") is displayed, and the truncated part of the text is not shown.

To Reproduce

  1. Create a TextBlock with RTL text.
  2. Set TextTrimming to CharacterEllipsis or WordEllipsis.
  3. Make the text long enough to get trimmed.
  4. Only the ellipsis appears, without the truncated text.

Expected behavior

The truncated text should be partially visible before the ellipsis, similar to LTR text behavior.

Avalonia version

11.2.0

OS

Windows

Additional context

No response

@timunie
Copy link
Contributor

timunie commented Nov 20, 2024

@dme-compunet can you try 11.2.1 or even better latest nightly?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants