mirror of
https://github.com/bitwarden/android.git
synced 2024-10-31 07:05:35 +03: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:
parent
11465e8975
commit
a73923c4f7
3 changed files with 17 additions and 0 deletions
|
@ -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"
|
||||
|
|
|
@ -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"
|
||||
|
|
|
@ -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"
|
||||
|
|
Loading…
Reference in a new issue