Altered SplitViews Background and added CornerRadius

This commit is contained in:
Ano-sys
2025-03-23 00:23:36 +01:00
parent 036acd4d19
commit e811a54c61
+4 -3
View File
@@ -36,10 +36,10 @@
</Design.DataContext> </Design.DataContext>
<Panel Background="Transparent"> <Panel Background="Transparent">
<SplitView Background="Transparent" IsPaneOpen="{Binding IsSplitOpen, Mode=TwoWay}" DisplayMode="Overlay" OpenPaneLength="250" ClipToBounds="False"> <SplitView Background="Transparent" IsPaneOpen="{Binding IsSplitOpen, Mode=TwoWay}" DisplayMode="Overlay" OpenPaneLength="250" ClipToBounds="False" PaneBackground="Transparent">
<SplitView.Pane> <SplitView.Pane>
<Border Background="Transparent" BorderBrush="Gray" BorderThickness="0" CornerRadius="0, 12.5,12.5,0" > <Border Background="#d4d4fc" BorderBrush="Gray" BorderThickness="1" CornerRadius="0, 12.5,12.5,0">
<Grid Background="#66ffffff"> <Grid Background="#d4d4fc" Margin="5"> <!-- Background of left panel opened -->
<Grid Background="Transparent"> <Grid Background="Transparent">
<Grid.RowDefinitions> <Grid.RowDefinitions>
<RowDefinition Height="50*"></RowDefinition> <RowDefinition Height="50*"></RowDefinition>
@@ -133,6 +133,7 @@
</Grid> </Grid>
</SplitView> </SplitView>
<!-- left Info bar --> <!-- left Info bar -->
<StackPanel Width="30" HorizontalAlignment="Left" IsVisible="{Binding !IsSplitOpen}" Background="#d4d4fc"> <StackPanel Width="30" HorizontalAlignment="Left" IsVisible="{Binding !IsSplitOpen}" Background="#d4d4fc">
<!-- Menu-Opener --> <!-- Menu-Opener -->
<Button Content="≡" <Button Content="≡"