1
0
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:
Kyle Spearrin
2016-07-03 00:27:10 -04:00
parent 7e6dbecfe3
commit ec419a2306
6 changed files with 24 additions and 15 deletions

View File

@@ -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,