PM-3349 Fix for icon and text spacing in some list items

This commit is contained in:
Dinis Vieira 2023-12-23 14:30:24 +00:00
parent b6ff6e34f6
commit 9b64af3423
No known key found for this signature in database
GPG key ID: 9389160FF6C295F3
3 changed files with 4 additions and 3 deletions

View file

@ -61,6 +61,7 @@
<controls:IconLabel Text="{Binding Icon, Mode=OneWay}" <controls:IconLabel Text="{Binding Icon, Mode=OneWay}"
HorizontalOptions="Start" HorizontalOptions="Start"
VerticalOptions="Center" VerticalOptions="Center"
Margin="0,0,7,0"
StyleClass="list-icon, list-icon-platform" StyleClass="list-icon, list-icon-platform"
ShouldUpdateFontSizeDynamicallyForAccesibility="True"> ShouldUpdateFontSizeDynamicallyForAccesibility="True">
<controls:IconLabel.Effects> <controls:IconLabel.Effects>

View file

@ -314,7 +314,7 @@
Class="list-icon-platform" Class="list-icon-platform"
ApplyToDerivedTypes="True"> ApplyToDerivedTypes="True">
<Setter Property="FontSize" <Setter Property="FontSize"
Value="23" /> Value="22" />
</Style> </Style>
<Style TargetType="Button" <Style TargetType="Button"
ApplyToDerivedTypes="True" ApplyToDerivedTypes="True"

View file

@ -283,9 +283,9 @@
Class="list-icon" Class="list-icon"
ApplyToDerivedTypes="True"> ApplyToDerivedTypes="True">
<Setter Property="MinimumWidthRequest" <Setter Property="MinimumWidthRequest"
Value="26" /> Value="22" />
<Setter Property="MinimumHeightRequest" <Setter Property="MinimumHeightRequest"
Value="26" /> Value="22" />
<Setter Property="HorizontalTextAlignment" <Setter Property="HorizontalTextAlignment"
Value="Center" /> Value="Center" />
<Setter Property="VerticalTextAlignment" <Setter Property="VerticalTextAlignment"