Styling changes

This commit is contained in:
watsonb8
2019-12-18 23:04:00 -05:00
parent 1e7e71f29d
commit 7d2f3f9553
6 changed files with 5 additions and 7 deletions

View File

@ -75,13 +75,11 @@ namespace Aurora.Design.Components.HorizontalList
_scrollView = new ScrollView();
_itemsStackLayout = new StackLayout
{
BackgroundColor = BackgroundColor,
Padding = Padding,
Spacing = Spacing,
HorizontalOptions = LayoutOptions.FillAndExpand
};
_scrollView.BackgroundColor = BackgroundColor;
_scrollView.Content = _itemsStackLayout;
Children.Add(_scrollView);
}
@ -120,7 +118,6 @@ namespace Aurora.Design.Components.HorizontalList
_itemsStackLayout.Children.Add(GetItemView(item));
}
_itemsStackLayout.BackgroundColor = BackgroundColor;
SelectedItem = null;
}

View File

@ -7,7 +7,7 @@
<ContentView.Content>
<StackLayout>
<hl:HorizontalList
BackgroundColor="Transparent"
BackgroundColor="Red"
x:Name="MembersHorizontalList"
ListOrientation="Horizontal"
VerticalOptions="Start">