mirror of
https://github.com/bitwarden/android.git
synced 2024-12-18 23:31:52 +03:00
layout fixes
This commit is contained in:
parent
17e18a2a7a
commit
7728046309
2 changed files with 4 additions and 3 deletions
|
@ -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);
|
||||
|
|
|
@ -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);
|
||||
|
|
Loading…
Reference in a new issue