First pass at some styling
This commit is contained in:
@ -4,21 +4,29 @@
|
||||
|
||||
ListView {
|
||||
background-color: #232323;
|
||||
margin-left: 20;
|
||||
margin-top: 20;
|
||||
margin-left: 15;
|
||||
margin-top: 40;
|
||||
}
|
||||
|
||||
#GroupTemplate Label {
|
||||
color: white;
|
||||
font-size: 14;
|
||||
font-family: Courier New, Courier, monospace;
|
||||
font-weight: 100;
|
||||
margin-top: 500;
|
||||
#GroupTemplate {
|
||||
align-items: end;
|
||||
}
|
||||
|
||||
#ItemTemplate label {
|
||||
color: white;
|
||||
font-size: 18;
|
||||
#GroupCell Label {
|
||||
color: lightgray;
|
||||
background-color: #232323;
|
||||
font-size: 12;
|
||||
font-family: Courier New, Courier, monospace;
|
||||
font-weight: 400;
|
||||
font-style: italic;
|
||||
padding-top: 18;
|
||||
}
|
||||
|
||||
#ItemCell label {
|
||||
color: white;
|
||||
background-color: #232323;
|
||||
font-size: 15;
|
||||
font-family: Courier New, Courier, monospace;
|
||||
font-style: normal;
|
||||
text-align: left;
|
||||
padding-top: 12;
|
||||
}
|
||||
|
@ -14,18 +14,20 @@
|
||||
SeparatorVisibility="None"
|
||||
HasUnevenRows="true"
|
||||
IsGroupingEnabled="true"
|
||||
RowHeight="35"
|
||||
CachingStrategy="RecycleElement">
|
||||
<ListView.GroupHeaderTemplate>
|
||||
<DataTemplate>
|
||||
<ViewCell x:Name="GroupTemplate">
|
||||
<ViewCell x:Name="GroupCell">
|
||||
<Label
|
||||
VerticalTextAlignment="Center"
|
||||
Text="{Binding GroupHeading}"/>
|
||||
</ViewCell>
|
||||
</DataTemplate>
|
||||
</ListView.GroupHeaderTemplate>
|
||||
<ListView.ItemTemplate>
|
||||
<DataTemplate>
|
||||
<ViewCell x:Name="ItemTemplate">
|
||||
<ViewCell x:Name="ItemCell">
|
||||
<Label
|
||||
Text="{Binding Title}"/>
|
||||
</ViewCell>
|
||||
|
@ -11,10 +11,13 @@ namespace Aurora.Design.Components.NavigationMenu
|
||||
{
|
||||
InitializeComponent();
|
||||
ListView = MenuItemsListView;
|
||||
|
||||
}
|
||||
|
||||
|
||||
public ListView ListView;
|
||||
|
||||
|
||||
public static readonly BindableProperty ItemsProperty =
|
||||
BindableProperty.Create(propertyName: nameof(Items),
|
||||
returnType: typeof(ObservableCollection<NavigationItem>),
|
||||
|
Reference in New Issue
Block a user