Skip to content
This repository was archived by the owner on Jun 21, 2023. It is now read-only.

Commit 4a1a6fd

Browse files
author
Steven Kirk
committed
Use CheckBox.Content for label
Fixes #289 - means that clicking on the label toggles the CheckBox.
1 parent d947786 commit 4a1a6fd

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

src/GitHub.VisualStudio/UI/Settings/OptionsControl.xaml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -74,8 +74,7 @@
7474
</GroupBox.Header>
7575
<DockPanel>
7676
<WrapPanel DockPanel.Dock="Top">
77-
<CheckBox x:Name="chkMetrics" VerticalAlignment="Center" />
78-
<Label Content="{x:Static prop:Resources.Options_MetricsLabel}" />
77+
<CheckBox x:Name="chkMetrics" VerticalAlignment="Center" Content="{x:Static prop:Resources.Options_MetricsLabel}" />
7978
</WrapPanel>
8079
<TextBlock>
8180
<Hyperlink ToolTip="https://visualstudio.github.com/samples.html" NavigateUri="https://visualstudio.github.com/samples.html" RequestNavigate="Hyperlink_RequestNavigate"><TextBlock Text="{x:Static prop:Resources.learnMoreLink}"/></Hyperlink>

0 commit comments

Comments
 (0)