diff --git a/demo/Ursa.Demo/App.axaml b/demo/Ursa.Demo/App.axaml index 8326f56..cb38ace 100644 --- a/demo/Ursa.Demo/App.axaml +++ b/demo/Ursa.Demo/App.axaml @@ -1,9 +1,10 @@ + xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" + xmlns:u-semi="https://irihi.tech/ursa/themes/semi"> - + \ No newline at end of file diff --git a/demo/Ursa.Demo/ViewModels/MessageBoxDemoViewModel.cs b/demo/Ursa.Demo/ViewModels/MessageBoxDemoViewModel.cs index 3bb7a45..e3a6d5c 100644 --- a/demo/Ursa.Demo/ViewModels/MessageBoxDemoViewModel.cs +++ b/demo/Ursa.Demo/ViewModels/MessageBoxDemoViewModel.cs @@ -115,7 +115,7 @@ public class MessageBoxDemoViewModel: ObservableObject private async Task OnOkCancelAsync() { - await Show(MessageBoxButton.OK); + await Show(MessageBoxButton.OKCancel); } private async Task Show(MessageBoxButton button) diff --git a/src/Ursa.Themes.Semi/AssemblyInfo.cs b/src/Ursa.Themes.Semi/AssemblyInfo.cs new file mode 100644 index 0000000..d15efbd --- /dev/null +++ b/src/Ursa.Themes.Semi/AssemblyInfo.cs @@ -0,0 +1,4 @@ +using Avalonia.Metadata; + +[assembly:XmlnsPrefix("https://irihi.tech/ursa/themes/semi", "u-semi")] +[assembly:XmlnsDefinition("https://irihi.tech/ursa/themes/semi", "Ursa.Themes.Semi")] \ No newline at end of file diff --git a/src/Ursa.Themes.Semi/Controls/Dialog.axaml b/src/Ursa.Themes.Semi/Controls/Dialog.axaml index 3fa8557..48259aa 100644 --- a/src/Ursa.Themes.Semi/Controls/Dialog.axaml +++ b/src/Ursa.Themes.Semi/Controls/Dialog.axaml @@ -52,7 +52,7 @@ + Header="{DynamicResource STRING_MENU_BRING_FORWARD}"> + Header="{DynamicResource STRING_MENU_BRING_TO_FRONT}"> + Header="{DynamicResource STRING_MENU_SEND_BACKWARD}"> + Header="{DynamicResource STRING_MENU_SEND_TO_BACK}"> + Content="{DynamicResource STRING_MENU_DIALOG_CANCEL}" />