Skip to content

Commit

Permalink
fix: 修复dialog字体问题
Browse files Browse the repository at this point in the history
  • Loading branch information
yaobiao131 committed Dec 24, 2023
1 parent 7a4b411 commit bc9a8ef
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 4 deletions.
6 changes: 5 additions & 1 deletion DownKyi/PrismExtension/Dialog/DialogWindow.axaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,10 @@
<Window.Styles>
<Style Selector="Window">
<Setter Property="SizeToContent" Value="WidthAndHeight" />
<Setter Property="UseLayoutRounding" Value="True" />
<Setter Property="TransparencyLevelHint" Value="AcrylicBlur" />
<Setter Property="BorderThickness" Value="1" />
<Setter Property="FontFamily" Value="Ubuntu, Segoe UI, SF Pro Display, Noto Sans, Cantarel" />
</Style>
</Window.Styles>
</Window>
</Window>
4 changes: 1 addition & 3 deletions DownKyi/Themes/Styles/StyleBtn.axaml
Original file line number Diff line number Diff line change
@@ -1,7 +1,5 @@
<ResourceDictionary xmlns="https://github.com/avaloniaui"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
xmlns:i="clr-namespace:Avalonia.Xaml.Interactivity;assembly=Avalonia.Xaml.Interactivity"
xmlns:ia="clr-namespace:Avalonia.Xaml.Interactions.Core;assembly=Avalonia.Xaml.Interactions">
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml">
<!-- Add Resources Here -->
<ControlTheme x:Key="BtnStyle" TargetType="Button">
<Setter Property="Cursor" Value="Hand" />
Expand Down

0 comments on commit bc9a8ef

Please sign in to comment.