Ursa.Avalonia icon indicating copy to clipboard operation
Ursa.Avalonia copied to clipboard

MessageBox调用异常

Open yzy945 opened this issue 1 year ago • 1 comments

调用显示MessageBox时如图只有外框,框内为透明,能看到后面窗体 2024-05-21_111958

codebehind调用,没写mvvm MessageBox.ShowAsync("_messdddddage", "", icon: MessageBoxIcon.Error, button: MessageBoxButton.OK);

yzy945 avatar May 21 '24 04:05 yzy945

你要引用一下Semi的样式,在App.axmal文件下添加:

<Application.Styles>
    <StyleInclude Source="avares://Semi.Avalonia/Themes/Index.axaml" />
    <u-semi:SemiTheme Locale="zh-CN" />
</Application.Styles>

zdpcdt avatar May 21 '24 08:05 zdpcdt