Skip to content

Commit 5bfcc36

Browse files
author
Yair Aichenbaum
committed
Fixed color and shadow on the TabStrip
1 parent d1c30a3 commit 5bfcc36

File tree

2 files changed

+18
-14
lines changed

2 files changed

+18
-14
lines changed

Files/Views/InstanceTabsView.xaml

Lines changed: 17 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -13,11 +13,10 @@
1313
<Grid x:Name="rootGrid" Background="Transparent">
1414
<muxc:TabView
1515
x:Name="TabStrip"
16-
Grid.Row="0"
17-
Padding="0"
18-
IsAddTabButtonVisible="False"
1916
VerticalAlignment="Stretch"
2017
x:FieldModifier="public"
18+
Background="Transparent"
19+
IsAddTabButtonVisible="False"
2120
SelectionChanged="TabStrip_SelectionChanged"
2221
TabCloseRequested="TabStrip_TabCloseRequested"
2322
TabWidthMode="Equal">
@@ -29,31 +28,35 @@
2928
<DataTemplate>
3029
<Grid
3130
x:Name="DragArea2"
32-
Background="Transparent"
3331
Width="{x:Bind local:App.InteractionViewModel.DragAreaWidth, Mode=TwoWay, UpdateSourceTrigger=PropertyChanged}"
34-
/>
32+
Background="Transparent" />
3533
</DataTemplate>
3634
</muxc:TabView.TabStripHeaderTemplate>
3735
<muxc:TabView.TabStripFooterTemplate>
3836
<DataTemplate>
3937
<Grid>
4038
<Grid.ColumnDefinitions>
41-
<ColumnDefinition Width="Auto"/>
42-
<ColumnDefinition Width="*"/>
39+
<ColumnDefinition Width="Auto" />
40+
<ColumnDefinition Width="*" />
4341
</Grid.ColumnDefinitions>
44-
<Button Click="AddTabButton_Click" x:Name="AddTabButton" Margin="2,0" Background="Transparent" Width="28" Height="28">
42+
<Button
43+
x:Name="AddTabButton"
44+
Width="28"
45+
Height="28"
46+
Margin="2,0"
47+
Background="Transparent"
48+
Click="AddTabButton_Click">
4549
<Button.Content>
46-
<FontIcon FontSize="10" Glyph="&#xE710;"/>
50+
<FontIcon FontSize="10" Glyph="&#xE710;" />
4751
</Button.Content>
4852
</Button>
4953
<Grid
50-
x:Name="DragArea"
51-
Background="Transparent"
52-
MinWidth="175"
54+
x:Name="DragArea"
5355
Grid.Column="1"
54-
Loaded="DragArea_Loaded" />
56+
MinWidth="175"
57+
Background="Transparent"
58+
Loaded="DragArea_Loaded" />
5559
</Grid>
56-
5760
</DataTemplate>
5861
</muxc:TabView.TabStripFooterTemplate>
5962
<muxc:TabView.KeyboardAccelerators>

Files/Views/Pages/ModernShellPage.xaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,7 @@
2929
HorizontalContentAlignment="Stretch"
3030
Canvas.ZIndex="100"
3131
OffsetX="-4"
32+
OffsetY="10"
3233
ShadowOpacity=".07">
3334
<Grid>
3435
<Grid.RowDefinitions>

0 commit comments

Comments
 (0)