-
Notifications
You must be signed in to change notification settings - Fork 1
/
MainWindow.xaml
58 lines (51 loc) · 2.67 KB
/
MainWindow.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
<Window x:Class="FlightGearTestExec.MainWindow"
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:local="clr-namespace:FlightGearTestExec"
xmlns:controls="clr-namespace:FlightGearTestExec.Controls"
xmlns:views="clr-namespace:FlightGearTestExec.Views"
xmlns:materialDesign="http://materialdesigninxaml.net/winfx/xaml/themes"
TextElement.Foreground="{DynamicResource MaterialDesignBody}"
TextElement.FontWeight="Regular"
TextElement.FontSize="13"
TextOptions.TextFormattingMode="Ideal"
TextOptions.TextRenderingMode="Auto"
Background="{DynamicResource MaterialDesignPaper}"
FontFamily="{DynamicResource MaterialDesignFont}"
mc:Ignorable="d"
Title="MainWindow" Height="950" Width="1550">
<materialDesign:Card>
<Grid>
<Grid.RowDefinitions>
<RowDefinition Height="*"></RowDefinition>
<RowDefinition Height="Auto"></RowDefinition>
</Grid.RowDefinitions>
<ScrollViewer Grid.Row="0" VerticalScrollBarVisibility="Auto" CanContentScroll="True" DockPanel.Dock="Top">
<Grid>
<Grid.ColumnDefinitions>
<ColumnDefinition Width="2*"></ColumnDefinition>
<ColumnDefinition Width="5*"></ColumnDefinition>
</Grid.ColumnDefinitions>
<Grid.RowDefinitions>
<RowDefinition Height="*"></RowDefinition>
<RowDefinition Height="*"></RowDefinition>
<RowDefinition Height="*"></RowDefinition>
</Grid.RowDefinitions>
<StackPanel>
<Viewbox Height="315"
Name="viewbox1"
Stretch="Fill" Grid.Row="1" Grid.Column="1" VerticalAlignment="Top">
<controls:JoystickView x:Name="joystick"/>
</Viewbox>
<views:MapsView/>
<views:DashboardView/>
</StackPanel>
<views:GraphsView x:Name="graphs" Grid.Column="1" Grid.Row="0" Grid.RowSpan="3"/>
</Grid>
</ScrollViewer>
<controls:MediaPlayerView Grid.Row="1" x:Name="MediaPlayer" DockPanel.Dock="Bottom" VerticalAlignment="Bottom" HorizontalAlignment="Stretch"/>
</Grid>
</materialDesign:Card>
</Window>