This repository has been archived by the owner on Jul 23, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Settings.xaml
62 lines (61 loc) · 2.8 KB
/
Settings.xaml
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
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
<Page
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" xmlns:d="http://schemas.microsoft.com/expression/blend/2008" xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" xmlns:materialDesign="http://materialdesigninxaml.net/winfx/xaml/themes" xmlns:svgc="http://sharpvectors.codeplex.com/svgc/" xmlns:ui="http://schemas.lepo.co/wpfui/2022/xaml" x:Class="Index.Settings"
mc:Ignorable="d"
Title="Index"
MinHeight="500"
MinWidth="830"
Height="500"
Width="830"
Background="#111213"
RenderOptions.BitmapScalingMode="HighQuality">
<Grid x:Name="Page">
<Grid.ColumnDefinitions>
<ColumnDefinition/>
<ColumnDefinition/>
</Grid.ColumnDefinitions>
<Grid x:Name="SetDirectory"
HorizontalAlignment="Left"
VerticalAlignment="Top"
Margin="10,10,0,0" Height="45" Width="345">
<Rectangle x:Name="DirectoryBackground"
HorizontalAlignment="Center"
Fill="#151515"
Width="345" RadiusX="4.625" RadiusY="4.625"/>
<Button x:Name="Set"
Height="45"
Width="45"
Background="Transparent"
PreviewMouseUp="SetFolder"
ToolTip="Browse">
<ui:FontIcon Height="45" Width="45" FontSize="20" HorizontalContentAlignment="Center" VerticalContentAlignment="Center" Glyph="" FontFamily="Segoe Fluent Icons" Foreground="White"/>
</Button>
<Label x:Name="DirectoryText" Content="Not set" Margin="50,0,10,0" VerticalAlignment="Center" FontFamily="Product Sans" Foreground="White" FontSize="18"/>
</Grid>
<ComboBox x:Name="Theme"
Margin="10,-330,0,0"
Width="345"
Height="45"
HorizontalAlignment="Left"
Foreground="White"
Background="#151515"
BorderBrush="#00D20000"
FontFamily="Product Sans"
FontSize="16"
ToolTip="Theme" SelectionChanged="ThemeChanged">
<ComboBoxItem x:Name="Dark" Content = "Dark" IsSelected="False" />
<ComboBoxItem x:Name="Light" Content = "Light" IsSelected="False" />
</ComboBox>
<ui:ToggleSwitch x:Name="throttletoggle"
Margin="10,-240,0,0"
Height="30"
Checked="ThrottleToggled"
Unchecked="ThrottleUntoggled"/>
<ui:TextBox x:Name="throttlebox"
Margin="65,113,60,0"
IsEnabled="False"
VerticalAlignment="Top"
PlaceholderText="0 kbps"
FontFamily="Product Sans" TextChanged="ThrottleChanged"
/>
</Grid>
</Page>