56 lines
2 KiB
XML
56 lines
2 KiB
XML
<Application xmlns="https://github.com/avaloniaui"
|
|
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
|
|
x:Class="ImageCatalog_2.AvaloniaApp">
|
|
<Application.Styles>
|
|
<FluentTheme />
|
|
|
|
<!-- Compact default styles to reduce padding/margins for a denser UI -->
|
|
<Style Selector="TabItem">
|
|
<Setter Property="Padding" Value="4,2" />
|
|
<Setter Property="Margin" Value="0" />
|
|
</Style>
|
|
|
|
<!-- Make tab header title text smaller and remove extra margin -->
|
|
<Style Selector="TabItem TextBlock">
|
|
<Setter Property="FontSize" Value="12" />
|
|
<Setter Property="Margin" Value="0" />
|
|
<Setter Property="VerticalAlignment" Value="Center" />
|
|
</Style>
|
|
|
|
<Style Selector="TabControl">
|
|
<Setter Property="Padding" Value="0" />
|
|
<Setter Property="Margin" Value="0" />
|
|
</Style>
|
|
|
|
<Style Selector="TextBox">
|
|
<Setter Property="Padding" Value="4" />
|
|
<Setter Property="Margin" Value="4,0,0,0" />
|
|
</Style>
|
|
|
|
<Style Selector="Button">
|
|
<Setter Property="Padding" Value="6,4" />
|
|
<Setter Property="Margin" Value="4,0,0,0" />
|
|
</Style>
|
|
|
|
<Style Selector="CheckBox">
|
|
<Setter Property="Margin" Value="0,2,0,0" />
|
|
<Setter Property="Padding" Value="2,0" />
|
|
</Style>
|
|
|
|
<Style Selector="RadioButton">
|
|
<Setter Property="Margin" Value="0,2,0,0" />
|
|
<Setter Property="Padding" Value="2,0" />
|
|
</Style>
|
|
|
|
<Style Selector="TextBlock">
|
|
<Setter Property="Margin" Value="0,6,0,0" />
|
|
</Style>
|
|
|
|
<Style Selector="StackPanel">
|
|
<Setter Property="Spacing" Value="6" />
|
|
</Style>
|
|
|
|
<StyleInclude Source="avares://IconPacks.Avalonia/Icons.axaml" />
|
|
<StyleInclude Source="avares://Avalonia.Controls.DataGrid/Themes/Fluent.xaml"/>
|
|
</Application.Styles>
|
|
</Application>
|