layout fixes

This commit is contained in:
Kyle Spearrin 2016-12-26 11:30:57 -05:00
parent 17e18a2a7a
commit 7728046309
2 changed files with 4 additions and 3 deletions

View file

@ -135,12 +135,12 @@ namespace Bit.App.Pages
{
ColumnSpacing = 15,
RowSpacing = 0,
Padding = new Thickness(15, 25)
Padding = new Thickness(15, 20)
};
grid.AdjustPaddingForDevice();
grid.RowDefinitions.Add(new RowDefinition { Height = new GridLength(1, GridUnitType.Auto) });
grid.RowDefinitions.Add(new RowDefinition { Height = new GridLength(1, GridUnitType.Star) });
grid.RowDefinitions.Add(new RowDefinition { Height = new GridLength(1, GridUnitType.Auto) });
grid.ColumnDefinitions.Add(new ColumnDefinition { Width = new GridLength(44, GridUnitType.Absolute) });
grid.ColumnDefinitions.Add(new ColumnDefinition { Width = new GridLength(1, GridUnitType.Star) });
grid.Children.Add(image, 0, 0);

View file

@ -487,7 +487,8 @@ namespace Bit.App.Pages
var label = new Label
{
FontSize = Device.GetNamedSize(NamedSize.Medium, typeof(Label)),
Style = (Style)Application.Current.Resources["text-muted"]
Style = (Style)Application.Current.Resources["text-muted"],
VerticalTextAlignment = TextAlignment.Center
};
label.SetBinding<VaultListPageModel.Folder>(Label.TextProperty, s => s.Name);