fixed missing styles on progressbar, progress radial, pie chart and rating view

This commit is contained in:
bmclane 2023-03-06 18:25:24 -05:00
Родитель d02cb6574e
Коммит aa77989678
5 изменённых файлов: 16 добавлений и 6 удалений

Просмотреть файл

@ -52,7 +52,7 @@
<ItemGroup Condition="$(TargetFramework.Contains('-windows'))">
<!-- Required - WinUI does not yet have buildTransitive for everything -->
<PackageReference Include="Microsoft.WindowsAppSDK" Version="1.1.5" />
<PackageReference Include="Microsoft.Graphics.Win2D" Version="1.0.3.1" />
<PackageReference Include="Microsoft.Graphics.Win2D" Version="1.0.4" />
</ItemGroup>
<ItemGroup>

Просмотреть файл

@ -30,6 +30,10 @@
<Color x:Key="DarkBorderColor">#ff77a9</Color>
<!-- STYLES -->
<Style x:Key="SettingsSectionLayoutStyle" TargetType="Layout">
<Setter Property="Padding" Value="12" />
</Style>
<Style x:Key="SectionTitleStyle" TargetType="Label">
<Setter Property="FontSize" Value="Small" />
<Setter Property="FontFamily" Value="Segoe UI" />

Просмотреть файл

@ -7,10 +7,6 @@
Title="Loading">
<ContentPage.Resources>
<ResourceDictionary>
<Style x:Key="SettingsSectionLayoutStyle" TargetType="Layout">
<Setter Property="Padding" Value="12" />
</Style>
<Style x:Key="SettingsTextStyle" TargetType="Label">
<Setter Property="FontSize" Value="9" />

Просмотреть файл

@ -12,7 +12,11 @@
<Setter Property="VerticalOptions" Value="Center" />
<Setter Property="Color" Value="{AppThemeBinding Light={StaticResource LightAccentColor}, Dark={StaticResource DarkAccentColor}}" />
</Style>
<Style x:Key="SettingsTextStyle" TargetType="Label">
<Setter Property="FontSize" Value="9" />
</Style>
</ResourceDictionary>
</ContentPage.Resources>
<Grid>

Просмотреть файл

@ -19,6 +19,12 @@
<Setter Property="FontSize" Value="9" />
</Style>
<Style x:Key="SettingsCheckBoxStyle" TargetType="CheckBox">
<Setter Property="VerticalOptions" Value="Center" />
<Setter Property="Color" Value="{AppThemeBinding Light={StaticResource LightAccentColor}, Dark={StaticResource DarkAccentColor}}" />
</Style>
<Style x:Key="SettingsEntryStyle" TargetType="Entry">
<Setter Property="VerticalOptions" Value="Center" />
<Setter Property="WidthRequest" Value="80" />