mirror of
https://github.com/bitwarden/mobile
synced 2025-12-17 08:43:21 +00:00
layout fixes
This commit is contained in:
@@ -135,12 +135,12 @@ namespace Bit.App.Pages
|
|||||||
{
|
{
|
||||||
ColumnSpacing = 15,
|
ColumnSpacing = 15,
|
||||||
RowSpacing = 0,
|
RowSpacing = 0,
|
||||||
Padding = new Thickness(15, 25)
|
Padding = new Thickness(15, 20)
|
||||||
};
|
};
|
||||||
grid.AdjustPaddingForDevice();
|
grid.AdjustPaddingForDevice();
|
||||||
|
|
||||||
grid.RowDefinitions.Add(new RowDefinition { Height = new GridLength(1, GridUnitType.Auto) });
|
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(44, GridUnitType.Absolute) });
|
||||||
grid.ColumnDefinitions.Add(new ColumnDefinition { Width = new GridLength(1, GridUnitType.Star) });
|
grid.ColumnDefinitions.Add(new ColumnDefinition { Width = new GridLength(1, GridUnitType.Star) });
|
||||||
grid.Children.Add(image, 0, 0);
|
grid.Children.Add(image, 0, 0);
|
||||||
|
|||||||
@@ -487,7 +487,8 @@ namespace Bit.App.Pages
|
|||||||
var label = new Label
|
var label = new Label
|
||||||
{
|
{
|
||||||
FontSize = Device.GetNamedSize(NamedSize.Medium, typeof(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);
|
label.SetBinding<VaultListPageModel.Folder>(Label.TextProperty, s => s.Name);
|
||||||
|
|||||||
Reference in New Issue
Block a user