1
0
mirror of https://github.com/bitwarden/mobile synced 2025-12-23 11:43:49 +00:00

[PM-5909] Fix Font MAUI Sizes (#3014)

* PM-5909 Set the default FontSize for Entry, Editor, SearchBar and Picker on Android so that the fonts have a similar size to the one in the Xamarin Forms app.

* PM-5909 Set the default FontSize for Entry, Editor, SearchBar and Picker on iOS so that the fonts have a similar size to the one in the Xamarin Forms app.

* PM-5909 Added spacing in specific scenario for Send Groups (between icon and text)
This commit is contained in:
Dinis Vieira
2024-02-20 22:06:47 +00:00
committed by GitHub
parent 11465e8975
commit a73923c4f7
3 changed files with 17 additions and 0 deletions

View File

@@ -50,6 +50,7 @@
x:DataType="pages:SendGroupingsPageListItem">
<controls:ExtendedStackLayout Orientation="Horizontal"
StyleClass="list-row, list-row-platform"
Spacing="6"
AutomationId="{Binding AutomationId}">
<controls:IconLabel Text="{Binding Icon, Mode=OneWay}"
HorizontalOptions="Start"

View File

@@ -11,11 +11,15 @@
Value="{DynamicResource TextColor}" />
<Setter Property="Margin"
Value="-4, 0, -4, -4" />
<Setter Property="FontSize"
Value="18" />
</Style>
<Style TargetType="Picker"
ApplyToDerivedTypes="True">
<Setter Property="TextColor"
Value="{DynamicResource TextColor}" />
<Setter Property="FontSize"
Value="18" />
<Setter Property="Margin"
Value="-4, 0, -4, -4" />
</Style>
@@ -39,6 +43,8 @@
Value="{DynamicResource TextColor}" />
<Setter Property="PlaceholderColor"
Value="{DynamicResource InputPlaceholderColor}" />
<Setter Property="FontSize"
Value="18" />
<Setter Property="Margin"
Value="-4, 0, -4, -4" />
</Style>
@@ -46,6 +52,8 @@
ApplyToDerivedTypes="True">
<Setter Property="BackgroundColor"
Value="Transparent" />
<Setter Property="FontSize"
Value="18" />
<Setter Property="TextColor"
Value="{DynamicResource TitleEntryTextColor}" />
<Setter Property="CancelButtonColor"

View File

@@ -9,6 +9,8 @@
Value="{DynamicResource InputPlaceholderColor}" />
<Setter Property="TextColor"
Value="{DynamicResource TextColor}" />
<Setter Property="FontSize"
Value="18" />
<Setter Property="Margin"
Value="0, 5, 0, 12" />
</Style>
@@ -16,6 +18,8 @@
ApplyToDerivedTypes="True">
<Setter Property="TextColor"
Value="{DynamicResource TextColor}" />
<Setter Property="FontSize"
Value="18" />
<Setter Property="Margin"
Value="0, 5, 0, 12" />
</Style>
@@ -37,6 +41,8 @@
ApplyToDerivedTypes="True">
<Setter Property="TextColor"
Value="{DynamicResource TextColor}" />
<Setter Property="FontSize"
Value="18" />
<Setter Property="BackgroundColor"
Value="{DynamicResource BackgroundColor}" />
<Setter Property="PlaceholderColor"
@@ -51,6 +57,8 @@
</Style>
<Style TargetType="SearchBar"
ApplyToDerivedTypes="True">
<Setter Property="FontSize"
Value="18" />
<Setter Property="BackgroundColor"
Value="{DynamicResource ListHeaderBackgroundColor}" />
<Setter Property="TextColor"