Skip to content

Commit 46c198b

Browse files
author
Steve Ives
committed
Moved TabControl background to Styles.
1 parent c858bec commit 46c198b

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

HarmonyCoreGenerator/Resources/Styles.xaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -44,6 +44,7 @@
4444

4545
<Style TargetType="TabControl">
4646
<Setter Property="Margin" Value="5"/>
47+
<Setter Property="Background" Value="{DynamicResource {x:Static SystemColors.ControlBrushKey}}"/>
4748
</Style>
4849

4950
<Style TargetType="TextBox">

HarmonyCoreGenerator/View/MainWindow.xaml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -64,8 +64,7 @@
6464

6565
<TabControl
6666
Grid.Row="1"
67-
SelectedIndex="{Binding SelectedTabIndex}"
68-
Background="{DynamicResource {x:Static SystemColors.ControlBrushKey}}">
67+
SelectedIndex="{Binding SelectedTabIndex}">
6968

7069
<!-- TAB 0: SOLUTION INFO -->
7170

0 commit comments

Comments
 (0)