Still show the menu bar when the views are off.

This commit is contained in:
Tadas Baltrusaitis 2017-01-06 13:04:21 -05:00
parent 15e26e2352
commit 58f5ba9d0c

View file

@ -13,6 +13,7 @@
<ColumnDefinition Width="0.8*"/> <ColumnDefinition Width="0.8*"/>
<ColumnDefinition Width="1*"/> <ColumnDefinition Width="1*"/>
<ColumnDefinition Width="1.6*"/> <ColumnDefinition Width="1.6*"/>
<ColumnDefinition Width="0.01*"/>
</Grid.ColumnDefinitions> </Grid.ColumnDefinitions>
<Grid.RowDefinitions> <Grid.RowDefinitions>
<RowDefinition Height="20"/> <RowDefinition Height="20"/>
@ -20,7 +21,7 @@
<RowDefinition Height="0.4*"/> <RowDefinition Height="0.4*"/>
<RowDefinition Height="auto"/> <RowDefinition Height="auto"/>
</Grid.RowDefinitions> </Grid.RowDefinitions>
<Menu IsMainMenu="True" Grid.Row="0" Grid.Column="0" Grid.ColumnSpan="4"> <Menu IsMainMenu="True" Grid.Row="0" Grid.Column="0" Grid.ColumnSpan="5">
<MenuItem Header="File"> <MenuItem Header="File">
<MenuItem Header="Open video(s)" Click="videoFileOpenClick"> <MenuItem Header="Open video(s)" Click="videoFileOpenClick">
</MenuItem> </MenuItem>
@ -53,7 +54,9 @@
<MenuItem IsCheckable="True" Header="Show AUs" Click="VisualisationChange" IsChecked="{Binding ShowAUs}"/> <MenuItem IsCheckable="True" Header="Show AUs" Click="VisualisationChange" IsChecked="{Binding ShowAUs}"/>
</MenuItem> </MenuItem>
</Menu> </Menu>
<Border Grid.Row="1" Grid.Column="4">
<Label></Label>
</Border>
<Border Name="VideoBorder" Grid.Row="1" Grid.Column="0" BorderBrush="Black" BorderThickness="1" Background="LightGray" Margin="5,5,0,0"> <Border Name="VideoBorder" Grid.Row="1" Grid.Column="0" BorderBrush="Black" BorderThickness="1" Background="LightGray" Margin="5,5,0,0">
<OpenFaceOffline:OverlayImage x:Name="video" /> <OpenFaceOffline:OverlayImage x:Name="video" />
</Border> </Border>