Commit c52e6edd authored by atraczyk's avatar atraczyk Committed by Nicolas Jager

UI: rearrange grid to fit debug panel properly

- rearranges the xaml to place the hamburger button inside the
splitview's pane above the smartpanel, allowing for the debug to
roll out on top

Change-Id: Ib61840d899e1ab22a397439b3a81ef494569370a
Tuleap: #1005
parent b0154635
......@@ -24,29 +24,7 @@
mc:Ignorable="d">
<Grid>
<Grid.RowDefinitions>
<RowDefinition Height="32"/>
<RowDefinition Height="*"/>
</Grid.RowDefinitions>
<Grid x:Name="_hamburgerButtonBar_"
Canvas.ZIndex="2"
Grid.Row="0"
Background="LightBlue"
Width="320"
HorizontalAlignment="Left">
<Grid.ColumnDefinitions>
<ColumnDefinition Width="60"/>
</Grid.ColumnDefinitions>
<!-- hamburger button. -->
<Button x:Name="_toggleSmartBoxButton_"
Grid.Row="0"
Content="&#xE700;"
Click="_toggleSmartBoxButton__Click"
HorizontalAlignment="Center"
Style="{StaticResource HamburgerButtonStyle}"/>
</Grid>
<SplitView x:Name="_outerSplitView_"
Grid.Row="1"
IsPaneOpen="False">
<SplitView.Pane>
<Frame x:Name="_consolePanel_"/>
......@@ -57,8 +35,33 @@
CompactPaneLength="60"
DisplayMode="CompactInline">
<SplitView.Pane>
<Frame x:Name="_smartPanel_"/>
</SplitView.Pane>
<Grid>
<Grid.RowDefinitions>
<RowDefinition Height="32"/>
<RowDefinition Height="*"/>
</Grid.RowDefinitions>
<Grid x:Name="_hamburgerButtonBar_"
Canvas.ZIndex="0"
Grid.Row="0"
Background="LightBlue"
Width="320"
HorizontalAlignment="Left">
<Grid.ColumnDefinitions>
<ColumnDefinition Width="60"/>
</Grid.ColumnDefinitions>
<!-- hamburger button. -->
<Button x:Name="_toggleSmartBoxButton_"
Grid.Row="0"
Content="&#xE700;"
Click="_toggleSmartBoxButton__Click"
HorizontalAlignment="Center"
Style="{StaticResource HamburgerButtonStyle}"/>
</Grid>
<Frame x:Name="_smartPanel_"
Grid.Row="1">
</Frame>
</Grid>
</SplitView.Pane>
<SplitView.Content>
<Grid x:Name="_navGrid_">
<Grid.RowDefinitions>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment