From 24722d3644caa7c9391d8e723cffdcf1ded88834 Mon Sep 17 00:00:00 2001 From: Kyle Spearrin Date: Tue, 30 Aug 2016 22:34:49 -0400 Subject: [PATCH] Lock password page tableview to properly adjust row height on iOS. --- src/App/Pages/Lock/LockPasswordPage.cs | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/src/App/Pages/Lock/LockPasswordPage.cs b/src/App/Pages/Lock/LockPasswordPage.cs index a967d3154..a60fe5c1b 100644 --- a/src/App/Pages/Lock/LockPasswordPage.cs +++ b/src/App/Pages/Lock/LockPasswordPage.cs @@ -77,6 +77,14 @@ namespace Bit.App.Pages Children = { table, logoutButton } }; + var scrollView = new ScrollView { Content = stackLayout }; + + if(Device.OS == TargetPlatform.iOS) + { + table.RowHeight = -1; + table.EstimatedRowHeight = 70; + } + var loginToolbarItem = new ToolbarItem("Submit", null, async () => { await CheckPasswordAsync(); @@ -84,7 +92,7 @@ namespace Bit.App.Pages ToolbarItems.Add(loginToolbarItem); Title = "Verify Master Password"; - Content = stackLayout; + Content = scrollView; } private void Entry_Completed(object sender, EventArgs e)