- tweak: Dependency injection think
This commit is contained in:
@@ -1,54 +1,15 @@
|
||||
<Window xmlns="https://github.com/avaloniaui"
|
||||
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
|
||||
xmlns:vm="using:Nebula.Launcher.ViewModels"
|
||||
xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
|
||||
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
|
||||
xmlns:tabs="clr-namespace:Nebula.Launcher.Views.Tabs"
|
||||
mc:Ignorable="d" d:DesignWidth="800" d:DesignHeight="450"
|
||||
x:Class="Nebula.Launcher.Views.MainWindow"
|
||||
x:DataType="vm:TestViewModel"
|
||||
MinHeight="400"
|
||||
MinWidth="600"
|
||||
Height="400"
|
||||
Width="800"
|
||||
Icon="/Assets/avalonia-logo.ico"
|
||||
Title="Nebula.Launcher">
|
||||
|
||||
<Grid ColumnDefinitions="60,*" RowDefinitions="*,40" Margin="0">
|
||||
<Border Grid.Row="0" Grid.Column="0"
|
||||
BorderThickness="0,0,2,0"
|
||||
CornerRadius="0,8,8,0"
|
||||
Padding="0" Margin="0,0,5,0">
|
||||
<StackPanel>
|
||||
<Button Classes="ViewSelectButton">
|
||||
<Image Source="../Assets/account.png"/>
|
||||
</Button>
|
||||
<Button Classes="ViewSelectButton">
|
||||
<Image Source="../Assets/list.png"/>
|
||||
</Button>
|
||||
<Button Classes="ViewSelectButton" Padding="15">
|
||||
<Image Source="../Assets/settings.png"/>
|
||||
</Button>
|
||||
</StackPanel>
|
||||
</Border>
|
||||
|
||||
<ScrollViewer Grid.Column="1" Grid.Row="0"
|
||||
HorizontalScrollBarVisibility="Visible"
|
||||
VerticalScrollBarVisibility="Disabled"
|
||||
Padding="5">
|
||||
<tabs:AccountInfoTab/>
|
||||
</ScrollViewer>
|
||||
|
||||
<Border Grid.Row="1" Grid.Column="0" Grid.ColumnSpan="2"
|
||||
BorderThickness="0,2,0,0"
|
||||
CornerRadius="0,0,0,0"
|
||||
Padding="5"
|
||||
Margin="0,0,0,0">
|
||||
<Panel>
|
||||
<TextBlock HorizontalAlignment="Left" VerticalAlignment="Center">cinka.ru</TextBlock>
|
||||
<TextBlock HorizontalAlignment="Right" VerticalAlignment="Center">v0.01</TextBlock>
|
||||
</Panel>
|
||||
</Border>
|
||||
</Grid>
|
||||
|
||||
</Window>
|
||||
<Window
|
||||
Height="400"
|
||||
Icon="/Assets/avalonia-logo.ico"
|
||||
MinHeight="400"
|
||||
MinWidth="600"
|
||||
Title="Nebula.Launcher"
|
||||
Width="800"
|
||||
d:DesignHeight="450"
|
||||
d:DesignWidth="800"
|
||||
mc:Ignorable="d"
|
||||
x:Class="Nebula.Launcher.Views.MainWindow"
|
||||
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" />
|
||||
|
||||
Reference in New Issue
Block a user