-
Notifications
You must be signed in to change notification settings - Fork 836
Closed
Copy link
Labels
area/skia/text ✏️area/textblockCategorizes an issue or PR as relevant to the TextBlock controlCategorizes an issue or PR as relevant to the TextBlock control
Description
Current behavior
Under Desktop framework, the TextBlock ignores TextTrimming property:
CharacterEllipsis and WordEllipsis are not working:
<StackPanel
HorizontalAlignment="Center"
VerticalAlignment="Center">
<TextBlock
Width="200"
Text="CharacterEllipsis: Hello Uno Platform, this a very long text!"
TextTrimming="CharacterEllipsis"
HorizontalAlignment="Center" />
<TextBlock
Width="200"
Text="WordEllipsis: Hello Uno Platform, this a very long text!"
TextTrimming="WordEllipsis"
HorizontalAlignment="Center" />
</StackPanel>Desktop framework:
WindowsSdk framework: all is fine.
Expected behavior
Desktop framework shall mimic WindowsSdk framework.
How to reproduce it (as minimally and precisely as possible)
MINIMAL REPRO PROJECT: UnoTextBlockEllipsis.zip
Workaround
Works on UWP/WinUI
Yes
Environment
No response
NuGet package version(s)
"Uno.Sdk": "5.5.32"
Affected platforms
Skia (WPF)
IDE
Visual Studio 2022
IDE version
No response
Relevant plugins
No response
Anything else we need to know?
No response
Reactions are currently unavailable
Sub-issues
Metadata
Metadata
Assignees
Labels
area/skia/text ✏️area/textblockCategorizes an issue or PR as relevant to the TextBlock controlCategorizes an issue or PR as relevant to the TextBlock control

