- tweak: prettify
This commit is contained in:
@@ -7,8 +7,8 @@
|
||||
xmlns="https://github.com/avaloniaui"
|
||||
xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
|
||||
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
|
||||
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
|
||||
xmlns:pages="clr-namespace:Nebula.Launcher.ViewModels.Pages">
|
||||
xmlns:pages="clr-namespace:Nebula.Launcher.ViewModels.Pages"
|
||||
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml">
|
||||
|
||||
<Design.DataContext>
|
||||
<pages:ServerListViewModel />
|
||||
@@ -18,18 +18,24 @@
|
||||
ColumnDefinitions="*"
|
||||
Margin="0"
|
||||
RowDefinitions="*,40">
|
||||
<ScrollViewer Margin="0,0,0,10" Padding="0,0,10,0" Grid.RowSpan="2">
|
||||
<ItemsControl
|
||||
ItemsSource="{Binding ServerInfos}"
|
||||
Padding="0">
|
||||
</ItemsControl>
|
||||
<ScrollViewer
|
||||
Grid.RowSpan="2"
|
||||
Margin="0,0,0,10"
|
||||
Padding="0,0,10,0">
|
||||
<ItemsControl ItemsSource="{Binding ServerInfos}" Padding="0" />
|
||||
</ScrollViewer>
|
||||
|
||||
<Border Grid.Row="1" Background="{StaticResource DefaultBackground}" BorderThickness="0">
|
||||
|
||||
</Border>
|
||||
|
||||
<Grid Grid.Row="1" ColumnDefinitions="*,40,40" RowDefinitions="*" Margin="5,0,0,0">
|
||||
<Border
|
||||
Background="{StaticResource DefaultBackground}"
|
||||
BoxShadow="0 2 25 0 #121212"
|
||||
CornerRadius="0"
|
||||
Grid.Row="1" />
|
||||
|
||||
<Grid
|
||||
ColumnDefinitions="*,40,40"
|
||||
Grid.Row="1"
|
||||
Margin="5,0,0,0"
|
||||
RowDefinitions="*">
|
||||
<TextBox
|
||||
Margin="0"
|
||||
Text="{Binding SearchText}"
|
||||
@@ -40,13 +46,13 @@
|
||||
Command="{Binding FilterRequired}"
|
||||
Grid.Column="1"
|
||||
Padding="10">
|
||||
<Svg Path="/Assets/svg/filter.svg"></Svg>
|
||||
<Svg Path="/Assets/svg/filter.svg" />
|
||||
</Button>
|
||||
<Button
|
||||
Command="{Binding UpdateRequired}"
|
||||
Grid.Column="2"
|
||||
Padding="10">
|
||||
<Svg Path="/Assets/svg/refresh.svg"></Svg>
|
||||
<Svg Path="/Assets/svg/refresh.svg" />
|
||||
</Button>
|
||||
</Grid>
|
||||
</Grid>
|
||||
|
||||
Reference in New Issue
Block a user