styles
This commit is contained in:
@@ -3,6 +3,32 @@
|
||||
x:Class="SharpCalculator.Avalonia.App"
|
||||
RequestedThemeVariant="Dark">
|
||||
<Application.Styles>
|
||||
|
||||
<SimpleTheme />
|
||||
|
||||
<Style Selector="Control.center">
|
||||
<Setter Property="HorizontalAlignment" Value="Center"/>
|
||||
<Setter Property="VerticalAlignment" Value="Center"/>
|
||||
</Style>
|
||||
|
||||
<Style Selector="Button.cirlce">
|
||||
<Setter Property="Height" Value="60"/>
|
||||
<Setter Property="Width" Value="60"/>
|
||||
<Setter Property="CornerRadius" Value="30"/>
|
||||
<Setter Property="Margin" Value="5"/>
|
||||
<Setter Property="HorizontalAlignment" Value="Center"/>
|
||||
<Setter Property="VerticalAlignment" Value="Center"/>
|
||||
<Setter Property="HorizontalContentAlignment" Value="Center"/>
|
||||
<Setter Property="VerticalContentAlignment" Value="Center"/>
|
||||
</Style>
|
||||
|
||||
<Style Selector="Button.gray">
|
||||
<Setter Property="Background" Value="Gray"/>
|
||||
</Style>
|
||||
|
||||
<Style Selector="Button.orange">
|
||||
<Setter Property="Background" Value="DarkOrange"/>
|
||||
</Style>
|
||||
|
||||
</Application.Styles>
|
||||
</Application>
|
||||
Reference in New Issue
Block a user