Skip to content

Commit

Permalink
cleanup sample
Browse files Browse the repository at this point in the history
  • Loading branch information
tomlm committed Oct 30, 2024
1 parent b38f9cd commit 784fa2b
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,8 @@
<!--Examples from Avalonia https://github.com/AvaloniaUI/Avalonia/blob/master/samples/ControlCatalog/Pages/TextBlockPage.xaml-->
<StackPanel Orientation="Vertical">
<TextBlock Text="This is TextBlock" />

<TextBlock Text="This is colored TextBlock" FontWeight="Bold" Background="DarkMagenta" Foreground="Chartreuse"/>

<StackPanel Orientation="Vertical" Margin="0" Background="DarkGray">
<TextBlock TextTrimming="CharacterEllipsis"
Text="Text trimming with character ellipsis. Lorem ipsum dolor sit amet, consectetur adipiscing elit." />
Expand Down

0 comments on commit 784fa2b

Please sign in to comment.