From 219c81aac5a637b300677f0db409e3f2c73dfb18 Mon Sep 17 00:00:00 2001 From: Kyle Spearrin Date: Mon, 27 Nov 2017 22:09:00 -0500 Subject: [PATCH] header adjustments --- src/App/Controls/SectionHeaderViewCell.cs | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/src/App/Controls/SectionHeaderViewCell.cs b/src/App/Controls/SectionHeaderViewCell.cs index 9353d7edb..1a0771209 100644 --- a/src/App/Controls/SectionHeaderViewCell.cs +++ b/src/App/Controls/SectionHeaderViewCell.cs @@ -1,4 +1,5 @@ -using Xamarin.Forms; +using Bit.App.Utilities; +using Xamarin.Forms; namespace Bit.App.Controls { @@ -18,7 +19,7 @@ namespace Bit.App.Controls var stackLayout = new StackLayout { - Padding = padding ?? new Thickness(16, 8), + Padding = padding ?? new Thickness(16, Helpers.OnPlatform(5, 8, 8, 8)), Children = { label }, Orientation = StackOrientation.Horizontal }; @@ -30,7 +31,8 @@ namespace Bit.App.Controls LineBreakMode = LineBreakMode.NoWrap, FontSize = Device.GetNamedSize(NamedSize.Small, typeof(Label)), Style = (Style)Application.Current.Resources["text-muted"], - HorizontalOptions = LayoutOptions.End + HorizontalOptions = LayoutOptions.End, + VerticalTextAlignment = TextAlignment.Center }; countLabel.SetBinding(Label.TextProperty, countBindingName); stackLayout.Children.Add(countLabel);