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
{{ message }}
This repository has been archived by the owner on May 1, 2024. It is now read-only.
Label MaxLines should display 4 lines and then truncation, but it only shows one line. IF I remove the LineBreakMode="TailTruncation" then I get 4 lines.
<Label x:Name="TruncatedLabel" MaxLines="4" LineBreakMode="TailTruncation" Text="You should see 4 lines of text and truncation at the end. Lorem ipsum dolor sit amet, consectetur adipiscing elit. Etiam mattis quam non enim pellentesque, ut placerat purus finibus. Nulla quis tincidunt ante. Ut mauris lectus, aliquam a sagittis vitae, consequat eget elit. Interdum et malesuada fames ac ante ipsum primis in faucibus. Pellentesque convallis nunc nisi, a imperdiet elit efficitur et. Duis in lectus mollis, interdum ipsum et, tincidunt orci. Fusce ipsum metus, imperdiet non lacus vitae, facilisis feugiat magna. Nulla volutpat nisl tortor, a consectetur felis consectetur non. Curabitur in enim vulputate sem volutpat bibendum id nec lorem. Mauris laoreet lacus ac volutpat tempus."/>
Expected Behavior
I should see 4 lines ending with truncation "...".
Hello. I am writing this in Oct 2022 and it still happens, exactly as described above - MaxLines="5" without LineBreakMode="TailTruncation" works, but with LineBreakMode="TailTruncation" I only see one line, ellipsized. I expected to see 5 lines, ellipsized. I think that I have the latest updates... or am I missing some update ? Thank you.
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Description
Label MaxLines should display 4 lines and then truncation, but it only shows one line. IF I remove the
LineBreakMode="TailTruncation"
then I get 4 lines.Steps to Reproduce
Run this and use the 3.3 page.
https://github.com/davidortinau/TheLittleThingsPlayground/blob/master/TheLittleThingsPlayground/Views/ThreeThreePage.xaml#L37
Expected Behavior
I should see 4 lines ending with truncation "...".
Actual Behavior
I see 1 line ending with truncation "...".
Basic Information
Screenshots
After removing
LineBreakMode="TailTruncation"
:Reproduction Link
https://github.com/davidortinau/TheLittleThingsPlayground/blob/master/TheLittleThingsPlayground/Views/ThreeThreePage.xaml#L37
The text was updated successfully, but these errors were encountered: