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

View File

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

View File

@ -29,6 +29,10 @@
background-color: #626363; background-color: #626363;
} }
#Content {
margin-right: 10;
}
#Modal { #Modal {
height: 500; height: 500;
width: 400; width: 400;

View File

@ -29,7 +29,6 @@ namespace Aurora.Design.Views.Main
public delegate Task SetPlayerDelegate(BaseMedia media, PlayAction action); public delegate Task SetPlayerDelegate(BaseMedia media, PlayAction action);
public delegate bool GetIsPlayingDelegate(); public delegate bool GetIsPlayingDelegate();
public delegate void ShowModalDelegate(Type view, BaseDialogViewModel viewModel); public delegate void ShowModalDelegate(Type view, BaseDialogViewModel viewModel);
public delegate void HideModalDelegate(); public delegate void HideModalDelegate();
public delegate void FinishDialogDelegate(); public delegate void FinishDialogDelegate();

View File

@ -10,7 +10,6 @@
<ContentView.Content> <ContentView.Content>
<StackLayout <StackLayout
x:Name="Container" x:Name="Container"
BackgroundColor="blue"
HorizontalOptions="Center" HorizontalOptions="Center"
VerticalOptions="Start"> VerticalOptions="Start">
<Label <Label

View File

@ -24,7 +24,6 @@
x:Name="PartyMembersLabel" x:Name="PartyMembersLabel"
Text="Party Members"/> Text="Party Members"/>
<ml:MemberList <ml:MemberList
BackgroundColor="Transparent"
x:Name="MembersList" x:Name="MembersList"
VerticalOptions="FillAndExpand" VerticalOptions="FillAndExpand"
Members="{Binding Members}"/> Members="{Binding Members}"/>