feat: add TextBox Demo, fix RadioButton demo. Add Borderless Theme.

This commit is contained in:
rabbitism
2022-12-16 12:31:52 +08:00
parent 96d10f33e5
commit e16c7408f1
7 changed files with 71 additions and 15 deletions

View File

@@ -1,5 +1,6 @@
using Avalonia;
using System;
using Avalonia.Media;
namespace Semi.Avalonia.Demo
{
@@ -10,6 +11,16 @@ namespace Semi.Avalonia.Demo
// yet and stuff might break.
[STAThread]
public static void Main(string[] args) => BuildAvaloniaApp()
.With(new FontManagerOptions
{
FontFallbacks = new[]
{
new FontFallback
{
FontFamily = new FontFamily("Microsoft YaHei")
}
}
})
.StartWithClassicDesktopLifetime(args);
// Avalonia configuration, don't remove; also used by visual designer.