Skip to content

Commit

Permalink
Change grid to dockpanel
Browse files Browse the repository at this point in the history
  • Loading branch information
R-N committed Mar 29, 2022
1 parent 3157d74 commit 9add566
Showing 1 changed file with 6 additions and 4 deletions.
10 changes: 6 additions & 4 deletions PiP-Tool/Views/PiPModeWindow.xaml
Original file line number Diff line number Diff line change
Expand Up @@ -61,19 +61,21 @@
/>
</Window.Background>

<Grid
<DockPanel
VerticalAlignment="Stretch"
HorizontalAlignment="Stretch"
Background="#012D2D30"
Opacity="1"
>
<Grid
<DockPanel
DockPanel.Dock="Right"
VerticalAlignment="Stretch"
HorizontalAlignment="Right"
Background="{StaticResource Background}"
Opacity="1"
>
<StackPanel
DockPanel.Dock="Top"
x:Name="TopBar"
Width="30"
Visibility="{Binding SideBarVisibility, UpdateSourceTrigger=PropertyChanged, Mode=TwoWay}"
Expand Down Expand Up @@ -157,6 +159,6 @@
FontFamily="/PiP-Tool;component/Assets/#Flaticon" Content="&#xF103;" Foreground="White" />

</StackPanel>
</Grid>
</Grid>
</DockPanel>
</DockPanel>
</Window>

0 comments on commit 9add566

Please sign in to comment.