This repository has been archived by the owner on May 25, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
/
App.axaml
48 lines (43 loc) · 1.98 KB
/
App.axaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
<Application xmlns="https://github.com/avaloniaui"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
xmlns:local="using:TQDBEditor"
xmlns:s="clr-namespace:System;assembly=mscorlib"
RequestedThemeVariant="Default"
x:CompileBindings="True"
x:Class="TQDBEditor.App"
Name="TQDBEditor">
<Application.Styles>
<!--<StyleInclude Source="avares://Semi.Avalonia/Themes/Index.axaml" />-->
<FluentTheme DensityStyle="Compact" />
<StyleInclude Source="avares://Avalonia.Controls.TreeDataGrid/Themes/Fluent.axaml"/>
<Style Selector="ScrollViewer[AllowAutoHide=False] /template/ ScrollContentPresenter">
<Setter Property="Grid.RowSpan" Value="1"/>
<Setter Property="Grid.ColumnSpan" Value="1"/>
</Style>
<Style Selector="TabControl.viewsTab /template/ WrapPanel">
<Setter Property="HorizontalAlignment" Value="Center"/>
</Style>
<Style Selector="TabControl.viewsTab">
<Setter Property="Padding" Value="0"/>
</Style>
<Style Selector="TabItem">
<Setter Property="FontSize" Value="12"/>
<Setter Property="VerticalAlignment" Value="Center"/>
</Style>
<Style Selector="Window">
<Setter Property="Icon" Value="/Assets/icon.ico"/>
<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"/>
<Setter Property="ExtendClientAreaToDecorationsHint" Value="True"/>
<Setter Property="ExtendClientAreaChromeHints" Value="PreferSystemChrome"/>
<Setter Property="ExtendClientAreaTitleBarHeightHint" Value="40"/>
</Style>
</Application.Styles>
<Application.Resources>
<!-- ... -->
<s:Boolean x:Key="True">True</s:Boolean>
<s:Boolean x:Key="False">False</s:Boolean>
</Application.Resources>
</Application>