-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathMainWindow.xaml
More file actions
73 lines (65 loc) · 2.92 KB
/
MainWindow.xaml
File metadata and controls
73 lines (65 loc) · 2.92 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
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
63
64
65
66
67
68
69
70
71
72
73
<?xml version="1.0" encoding="utf-8"?>
<Window
x:Class="Project_Narc.MainWindow"
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
xmlns:local="using:Project_Narc"
xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
xmlns:controls="using:Microsoft.UI.Xaml.Controls"
mc:Ignorable="d">
<Grid x:Name="AppTitleBar">
<Grid.RowDefinitions>
<RowDefinition Height="100"/>
<RowDefinition Height="100"/>
<RowDefinition />
<RowDefinition />
<RowDefinition Height="80"/>
</Grid.RowDefinitions>
<Grid.ColumnDefinitions>
<ColumnDefinition/>
<ColumnDefinition Width="240"/>
</Grid.ColumnDefinitions>
<Rectangle Grid.RowSpan="5" Grid.ColumnSpan="2">
<Rectangle.Fill>
<LinearGradientBrush StartPoint="0,0" EndPoint="1,1">
<GradientStop Color="LightGreen" Offset="0.0" />
<GradientStop Color="Orange" Offset="0.5" />
<GradientStop Color="HotPink" Offset="1.0" />
</LinearGradientBrush>
</Rectangle.Fill>
</Rectangle>
<Border x:Name="PopupRectangle" BorderBrush="Black" BorderThickness="0.1" CornerRadius="10" Grid.RowSpan="5" Margin="15">
<Border.Shadow>
<ThemeShadow />
</Border.Shadow>
<controls:WebView2 x:Name="MyWebView" Source="https://www.google.com" />
</Border>
<!-- Searchbar grid: 1, row: 0 -->
<TextBox Name="addressBar" Grid.Column="1" Margin="15, 35, 15, 15" VerticalAlignment="Center" FontSize="15" KeyDown="AddressBarKeyDown"/>
<!-- Favorites grid: 1, row: 1 -->
<Rectangle Margin="15" RadiusX="10" RadiusY="10" Grid.Column="1" Grid.Row="1">
<Rectangle.Fill>
<SolidColorBrush Color="black" Opacity="0.5"/>
</Rectangle.Fill>
</Rectangle>
<!-- Bookmarked tabs grid 1, row: 2 -->
<Rectangle Margin="15" RadiusX="10" RadiusY="10" Grid.Column="1" Grid.Row="2">
<Rectangle.Fill>
<SolidColorBrush Color="black" Opacity="0.5"/>
</Rectangle.Fill>
</Rectangle>
<!-- Open tabs grid 1, row 3-->
<Rectangle Margin="15" RadiusX="10" RadiusY="10" Grid.Column="1" Grid.Row="3">
<Rectangle.Fill>
<SolidColorBrush Color="black" Opacity="0.5"/>
</Rectangle.Fill>
</Rectangle>
<!-- Spaces grid 1, row 4-->
<Rectangle Margin="15" RadiusX="10" RadiusY="10" Grid.Column="1" Grid.Row="4">
<Rectangle.Fill>
<SolidColorBrush Color="black" Opacity="0.5"/>
</Rectangle.Fill>
</Rectangle>
</Grid>
</Window>