1
0
mirror of https://github.com/bitwarden/mobile synced 2025-12-18 01:03:24 +00:00

Relative layout on register page to show help text under password and hint.

This commit is contained in:
Kyle Spearrin
2016-07-04 02:45:32 -04:00
parent b9c823b0aa
commit f74273999c
4 changed files with 97 additions and 38 deletions

View File

@@ -10,12 +10,6 @@ namespace Bit.App.Controls
{
public class ExtendedTableView : TableView
{
public ExtendedTableView()
: base()
{
VerticalOptions = LayoutOptions.Start;
}
public static readonly BindableProperty EnableScrollingProperty =
BindableProperty.Create(nameof(EnableScrolling), typeof(bool), typeof(ExtendedTableView), true);
@@ -47,7 +41,7 @@ namespace Bit.App.Controls
protected override SizeRequest OnSizeRequest(double widthConstraint, double heightConstraint)
{
if(Device.OS == TargetPlatform.iOS && VerticalOptions.Alignment != LayoutAlignment.Fill)
if(Device.OS == TargetPlatform.iOS && !VerticalOptions.Expands)
{
var reflectionService = Resolver.Resolve<IReflectionService>();
var baseBaseOnSizeRequest = reflectionService.GetVisualElementOnSizeRequest(this);