Skip to content

Commit 15ba504

Browse files
committed
Reset settings tab to TabItem from UserControl
1 parent 1ae5631 commit 15ba504

File tree

1 file changed

+3
-5
lines changed

1 file changed

+3
-5
lines changed

RetailCoder.VBE/UI/SourceControl/SettingsView.xaml

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,13 @@
1-
<UserControl x:Class="Rubberduck.UI.SourceControl.SettingsView"
1+
<TabItem x:Class="Rubberduck.UI.SourceControl.SettingsView"
22
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
33
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
44
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
55
xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
66
xmlns:sourceControl="clr-namespace:Rubberduck.UI.SourceControl"
77
mc:Ignorable="d"
8+
Header="{Resx ResxName=Rubberduck.UI.RubberduckUI, Key=SourceControl_Settings}"
89
d:DesignHeight="300" d:DesignWidth="300"
910
d:DataContext="{d:DesignInstance {x:Type sourceControl:SettingsViewViewModel}, IsDesignTimeCreatable=False}">
10-
<!--
11-
Header="{Resx ResxName=Rubberduck.UI.RubberduckUI, Key=SourceControl_Settings}"
12-
-->
1311
<Grid>
1412
<ScrollViewer VerticalScrollBarVisibility="Auto">
1513
<StackPanel Margin="5"
@@ -111,4 +109,4 @@
111109
</StackPanel>
112110
</ScrollViewer>
113111
</Grid>
114-
</UserControl>
112+
</TabItem>

0 commit comments

Comments
 (0)