revert uneven padding

This commit is contained in:
Kyle Spearrin 2017-12-22 11:59:20 -05:00
parent 94a4a38798
commit 35bc94f4bd
3 changed files with 3 additions and 3 deletions

View File

@ -44,7 +44,7 @@ namespace Bit.App.Controls
var stackLayout = new StackLayout var stackLayout = new StackLayout
{ {
Spacing = 0, Spacing = 0,
Padding = new Thickness(16, 10, 27, 10), Padding = new Thickness(16, 10),
Children = { Icon, Label, CountLabel }, Children = { Icon, Label, CountLabel },
Orientation = StackOrientation.Horizontal Orientation = StackOrientation.Horizontal
}; };

View File

@ -80,7 +80,7 @@ namespace Bit.App.Pages
ItemsSource = PresentationSections, ItemsSource = PresentationSections,
HasUnevenRows = true, HasUnevenRows = true,
GroupHeaderTemplate = new DataTemplate(() => new SectionHeaderViewCell(nameof(Section<Cipher>.Name), GroupHeaderTemplate = new DataTemplate(() => new SectionHeaderViewCell(nameof(Section<Cipher>.Name),
nameof(Section<Cipher>.Count), new Thickness(16, 8, 27, 8))), nameof(Section<Cipher>.Count))),
GroupShortNameBinding = new Binding(nameof(Section<Cipher>.Name)), GroupShortNameBinding = new Binding(nameof(Section<Cipher>.Name)),
ItemTemplate = new DataTemplate(() => new VaultListViewCell( ItemTemplate = new DataTemplate(() => new VaultListViewCell(
(Cipher c) => Helpers.CipherMoreClickedAsync(this, c, !string.IsNullOrWhiteSpace(_uri)))) (Cipher c) => Helpers.CipherMoreClickedAsync(this, c, !string.IsNullOrWhiteSpace(_uri))))

View File

@ -72,7 +72,7 @@ namespace Bit.App.Pages
ItemsSource = PresentationSections, ItemsSource = PresentationSections,
HasUnevenRows = true, HasUnevenRows = true,
GroupHeaderTemplate = new DataTemplate(() => new SectionHeaderViewCell( GroupHeaderTemplate = new DataTemplate(() => new SectionHeaderViewCell(
nameof(Section<Grouping>.Name), nameof(Section<Grouping>.Count), new Thickness(16, 12, 27, 12))), nameof(Section<Grouping>.Name), nameof(Section<Grouping>.Count), new Thickness(16, 12))),
ItemTemplate = new GroupingOrCipherDataTemplateSelector(this) ItemTemplate = new GroupingOrCipherDataTemplateSelector(this)
}; };