-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathMainWindow.axaml
More file actions
31 lines (31 loc) · 2.48 KB
/
MainWindow.axaml
File metadata and controls
31 lines (31 loc) · 2.48 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
<Window xmlns="https://github.com/avaloniaui"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
x:Class="FlaxPlugMan.MainWindow"
Title="Select project"
Width="360" Height="600"
CanResize="false"
Background="#282e33">
<Window.Resources>
<StreamGeometry x:Key="link_square_regular">M6.25 3C4.45507 3 3 4.45507 3 6.25V12.25C3 14.0449 4.45507 15.5 6.25 15.5H7.5V14H6.25C5.2835 14 4.5 13.2165 4.5 12.25V6.25C4.5 5.2835 5.2835 4.5 6.25 4.5H12.25C13.2165 4.5 14 5.2835 14 6.25V12.25C14 13.2165 13.2165 14 12.25 14H11V15.5H12.25C14.0449 15.5 15.5 14.0449 15.5 12.25V6.25C15.5 4.45507 14.0449 3 12.25 3H6.25Z M10 11.75C10 10.7835 10.7835 10 11.75 10H12.9982V8.5H11.75C9.95507 8.5 8.5 9.95507 8.5 11.75V17.75C8.5 19.5449 9.95507 21 11.75 21H17.75C19.5449 21 21 19.5449 21 17.75V11.75C21 9.95507 19.5449 8.5 17.75 8.5H16.5V10H17.75C18.7165 10 19.5 10.7835 19.5 11.75V17.75C19.5 18.7165 18.7165 19.5 17.75 19.5H11.75C10.7835 19.5 10 18.7165 10 17.75V11.75Z</StreamGeometry>
</Window.Resources>
<Window.Styles>
<Style Selector="Button,ProgressBar,Label,ListBox,CheckBox">
<Setter Property="FontFamily" Value="Arial" />
<Setter Property="FontWeight" Value="Medium" />
<Setter Property="Margin" Value="2" />
<Setter Property="HorizontalAlignment" Value="Stretch" />
<Setter Property="VerticalAlignment" Value="Stretch" />
</Style>
</Window.Styles>
<Grid RowDefinitions="Auto,*,Auto,Auto" ColumnDefinitions="0.5*,0.5*">
<TextBlock Name="Info" Grid.Row="0" Grid.Column="0" Grid.ColumnSpan="2" Height="20" FontSize="14" Text="Flax Plugin Manager" />
<Border Grid.Row="1" Grid.Column="0" Grid.ColumnSpan="2" Background="#18191d" BorderBrush="#283f9a" BorderThickness="3" CornerRadius="5">
<ScrollViewer Name="PluginList" Padding="10">
</ScrollViewer>
</Border>
<CheckBox Name="GitSupport" Grid.Row="2" Grid.Column="0" IsEnabled="false">Download via Git</CheckBox>
<ProgressBar Name="Progress" Grid.Row="2" Grid.Column="1" Value="0" Foreground="#283f9a" Minimum="0" Maximum="100" />
<Button Name="SelectButton" Grid.Row="3" Grid.Column="0" Background="#363c42" HorizontalContentAlignment="Center" Click="OnSelectClick">Select project</Button>
<Button Name="ApplyButton" Grid.Row="3" Grid.Column="1" Background="#363c42" HorizontalContentAlignment="Center" Click="OnApplyClick">Apply</Button>
</Grid>
</Window>