More styling

This commit is contained in:
watsonb8
2019-12-23 20:07:07 -05:00
parent 109457d6fa
commit 43c6a5a2c6
9 changed files with 42 additions and 39 deletions

View File

@ -1,9 +1,4 @@
#Layout {
background-color: #232323;
}
ListView {
background-color: #232323;
margin-left: 15;
margin-top: 40;
}
@ -22,7 +17,6 @@ ListView {
#ItemCell Label {
color: white;
background-color: #232323;
font-size: 15;
font-family: Courier New, Courier, monospace;
font-style: normal;

View File

@ -8,17 +8,21 @@
Source="NavigationMenu.css"/>
</ContentView.Resources>
<ContentView.Content>
<StackLayout x:Name="Layout">
<StackLayout
x:Name="Layout"
StyleClass="primaryColor">
<ListView
x:Name="MenuItemsListView"
HasUnevenRows="true"
SeparatorVisibility="None"
IsGroupingEnabled="true"
RowHeight="35"
StyleClass="primaryColor"
CachingStrategy="RecycleElement">
<ListView.GroupHeaderTemplate>
<DataTemplate>
<ViewCell x:Name="GroupCell">
<ViewCell
x:Name="GroupCell">
<Label
VerticalTextAlignment="Center"
Text="{Binding GroupHeading}"/>
@ -27,9 +31,11 @@
</ListView.GroupHeaderTemplate>
<ListView.ItemTemplate>
<DataTemplate>
<ViewCell x:Name="ItemCell">
<ViewCell
x:Name="ItemCell">
<Label
Text="{Binding Title}"/>
StyleClass="primaryColor"
Text="{Binding Title}"/>
</ViewCell>
</DataTemplate>
</ListView.ItemTemplate>