diff --git a/demo/Semi.Avalonia.Demo/Pages/TextBlockDemo.axaml b/demo/Semi.Avalonia.Demo/Pages/TextBlockDemo.axaml index 44e8fef..7aca219 100644 --- a/demo/Semi.Avalonia.Demo/Pages/TextBlockDemo.axaml +++ b/demo/Semi.Avalonia.Demo/Pages/TextBlockDemo.axaml @@ -1,11 +1,16 @@ + x:Class="Semi.Avalonia.Demo.Pages.TextBlockDemo" + xmlns="https://github.com/avaloniaui" + xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" + xmlns:d="http://schemas.microsoft.com/expression/blend/2008" + xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" + d:DesignHeight="600" + d:DesignWidth="800" + mc:Ignorable="d"> Styles for TextBlock Header 1 @@ -20,15 +25,18 @@ Tertiary Quaternary Warning + Warning disabled Danger Success Disabled Default Mark Underline Delete + Underline and Delete Styles for SelectableTextBlock Header 1 @@ -43,15 +51,18 @@ Tertiary Quaternary Warning + Warning disabled Danger Success Disabled Default Mark Underline Delete + Underline and Delete Styles for Label @@ -66,6 +77,7 @@ + diff --git a/src/Semi.Avalonia/Controls/Label.axaml b/src/Semi.Avalonia/Controls/Label.axaml index dced162..052394a 100644 --- a/src/Semi.Avalonia/Controls/Label.axaml +++ b/src/Semi.Avalonia/Controls/Label.axaml @@ -99,9 +99,6 @@ RecognizesAccessKey="True" /> - @@ -133,6 +130,9 @@ + - @@ -47,8 +44,18 @@ + + @@ -75,5 +82,8 @@ + diff --git a/src/Semi.Avalonia/Controls/TextBlock.axaml b/src/Semi.Avalonia/Controls/TextBlock.axaml index 10cf6c9..bb26c04 100644 --- a/src/Semi.Avalonia/Controls/TextBlock.axaml +++ b/src/Semi.Avalonia/Controls/TextBlock.axaml @@ -10,9 +10,6 @@ - @@ -40,6 +37,17 @@ + + +