mirror of
https://github.com/bitwarden/mobile
synced 2025-12-27 05:33:23 +00:00
padding option for form entry cell. increased padding on login and register forms. reduced large font size on iOS
This commit is contained in:
@@ -11,7 +11,8 @@ namespace Bit.App.Controls
|
||||
bool IsPassword = false,
|
||||
VisualElement nextElement = null,
|
||||
bool useLabelAsPlaceholder = false,
|
||||
string imageSource = null)
|
||||
string imageSource = null,
|
||||
Thickness? containerPadding = null)
|
||||
{
|
||||
if(!useLabelAsPlaceholder)
|
||||
{
|
||||
@@ -48,7 +49,7 @@ namespace Bit.App.Controls
|
||||
|
||||
var imageStackLayout = new StackLayout
|
||||
{
|
||||
Padding = new Thickness(15, 10),
|
||||
Padding = containerPadding ?? new Thickness(15, 10),
|
||||
Orientation = StackOrientation.Horizontal,
|
||||
Spacing = 10,
|
||||
HorizontalOptions = LayoutOptions.FillAndExpand,
|
||||
|
||||
Reference in New Issue
Block a user