[PR #3014] [PM-5909] Fix Font MAUI Sizes #3959

Closed
opened 2025-11-26 23:38:58 -06:00 by GiteaMirror · 0 comments
Owner

Original Pull Request: https://github.com/bitwarden/android/pull/3014

State: closed
Merged: Yes


Type of change

  • Bug fix
  • New feature development
  • Tech debt (refactoring, code cleanup, dependency upgrades, etc)
  • Build/deploy pipeline (DevOps)
  • Other

Objective

Font Size on some controls in the MAUI app is different from Xamarin Forms. Ideally it should be the same.

Code changes

As far as I could tell MAUI no longer uses the same Font Size default that we had in Xamarin Forms.
The most obvious issues seemed to be on Entry, Editor, Picker and SearchBar.
In code I set these base controls to always have a default of FontSize="18" which seems to be the same as the Xamarin Forms app.

Also added a spacing on SendGroupingsPage.xaml between icon and text. (this wasn't an issue in Xamarin Forms because XF has a default Spacing of 6)

  • Android.xaml: Set the default FontSize to 18 on Entry, Editor, Picker and SearchBar. (for Android)
  • iOS.xaml: Set the default FontSize to 18 on Entry, Editor, Picker and SearchBar. (for iOS)
  • SendGroupingsPage.xaml: Added a spacing on SendGroupingsPage.xaml between icon and text.

Before you submit

  • Please check for formatting errors (dotnet format --verify-no-changes) (required)
  • Please add unit tests where it makes sense to do so (encouraged but not required)
  • If this change requires a documentation update - notify the documentation team
  • If this change has particular deployment requirements - notify the DevOps team
**Original Pull Request:** https://github.com/bitwarden/android/pull/3014 **State:** closed **Merged:** Yes --- ## Type of change - [x] Bug fix - [ ] New feature development - [ ] Tech debt (refactoring, code cleanup, dependency upgrades, etc) - [ ] Build/deploy pipeline (DevOps) - [ ] Other ## Objective Font Size on some controls in the MAUI app is different from Xamarin Forms. Ideally it should be the same. ## Code changes As far as I could tell MAUI no longer uses the same Font Size default that we had in Xamarin Forms. The most obvious issues seemed to be on `Entry`, `Editor`, `Picker` and `SearchBar`. In code I set these base controls to always have a default of `FontSize="18"` which seems to be the same as the Xamarin Forms app. Also added a spacing on `SendGroupingsPage.xaml` between icon and text. (this wasn't an issue in Xamarin Forms because XF has a default Spacing of 6) * **Android.xaml:** Set the default FontSize to 18 on `Entry`, `Editor`, `Picker` and `SearchBar`. (for Android) * **iOS.xaml:** Set the default FontSize to 18 on `Entry`, `Editor`, `Picker` and `SearchBar`. (for iOS) * **SendGroupingsPage.xaml:** Added a spacing on `SendGroupingsPage.xaml` between icon and text. ## Before you submit - Please check for formatting errors (`dotnet format --verify-no-changes`) (required) - Please add **unit tests** where it makes sense to do so (encouraged but not required) - If this change requires a **documentation update** - notify the documentation team - If this change has particular **deployment requirements** - notify the DevOps team
GiteaMirror added the pull-request label 2025-11-26 23:38:58 -06:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/android#3959