* - tweak: change loading handle logic * - tweak: beautify loading thinks * - fix: speed thinks while downloading
72 lines
2.6 KiB
XML
72 lines
2.6 KiB
XML
<Window
|
|
Background="{x:Null}"
|
|
ExtendClientAreaChromeHints="NoChrome"
|
|
ExtendClientAreaTitleBarHeightHint="-1"
|
|
ExtendClientAreaToDecorationsHint="True"
|
|
Height="550"
|
|
Icon="/Assets/nebula.ico"
|
|
MinHeight="550"
|
|
MinWidth="800"
|
|
SystemDecorations="BorderOnly"
|
|
Title="Nebula.Launcher"
|
|
TransparencyLevelHint="AcrylicBlur"
|
|
Width="800"
|
|
WindowStartupLocation="CenterScreen"
|
|
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">
|
|
<Grid ColumnDefinitions="*" RowDefinitions="30,*">
|
|
<Border
|
|
Background="{StaticResource DefaultGrad}"
|
|
BorderThickness="0,0,0,2"
|
|
CornerRadius="0"
|
|
Grid.Column="0"
|
|
Grid.Row="0">
|
|
<Border.BorderBrush>
|
|
<LinearGradientBrush EndPoint="100%,50%" StartPoint="0%,50%">
|
|
<GradientStop Color="#222222" Offset="0.0" />
|
|
<GradientStop Color="#442222" Offset="1.0" />
|
|
</LinearGradientBrush>
|
|
</Border.BorderBrush>
|
|
<Panel
|
|
Background="{StaticResource DefaultGrad}"
|
|
Height="30"
|
|
PointerPressed="InputElement_OnPointerPressed">
|
|
<TextBlock
|
|
FontSize="10"
|
|
Foreground="White"
|
|
IsVisible="False"
|
|
Margin="15,0"
|
|
Text="Nebula Launcher"
|
|
VerticalAlignment="Center" />
|
|
<StackPanel
|
|
HorizontalAlignment="Right"
|
|
Margin="5,0,5,0"
|
|
Orientation="Horizontal"
|
|
Spacing="8">
|
|
<Button
|
|
Click="Minimize_Click"
|
|
Content="🗕"
|
|
Foreground="Azure" />
|
|
<Button
|
|
Click="Maximize_Click"
|
|
Content="🗗"
|
|
Foreground="Azure" />
|
|
<Button
|
|
Click="Close_Click"
|
|
Content="🗙"
|
|
Foreground="Azure" />
|
|
</StackPanel>
|
|
</Panel>
|
|
</Border>
|
|
<UserControl
|
|
Grid.Column="0"
|
|
Grid.Row="1"
|
|
x:Name="Control" />
|
|
</Grid>
|
|
</Window> |