mirror of
https://github.com/bitwarden/android.git
synced 2024-12-24 01:48:25 +03:00
header adjustments
This commit is contained in:
parent
083003d34f
commit
219c81aac5
1 changed files with 5 additions and 3 deletions
|
@ -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);
|
||||
|
|
Loading…
Reference in a new issue