Skip to content

Commit cc2a930

Browse files
committed
Formatting
1 parent c04134f commit cc2a930

File tree

4 files changed

+7
-6
lines changed

4 files changed

+7
-6
lines changed

src/VisualStudio/CSharp/Impl/Options/Formatting/FormattingOptionPageControl.xaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
mc:Ignorable="d" d:DesignHeight="279" d:DesignWidth="514">
1313
<ScrollViewer VerticalScrollBarVisibility="Auto">
1414
<StackPanel>
15-
<localOptions:CodeStyleNoticeTextBlock />
15+
<localOptions:CodeStyleNoticeTextBlock Margin="5 0 5 0" />
1616
<GroupBox x:Uid="GroupBox_1" Header="{x:Static local:FormattingGeneralOptionPageStrings.General}">
1717
<StackPanel>
1818
<CheckBox x:Name="FormatWhenTypingCheckBox" x:Uid="FormatWhenTypingCheckBox" />

src/VisualStudio/Core/Impl/Options/GridOptionPreviewControl.xaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@
4141
<RowDefinition Height="5" />
4242
<RowDefinition Height="*" />
4343
</Grid.RowDefinitions>
44-
<options:CodeStyleNoticeTextBlock Grid.Row="0"/>
44+
<options:CodeStyleNoticeTextBlock Grid.Row="0" Margin="5 0 5 0" />
4545
<Button
4646
Grid.Row="1"
4747
Name="GenerateEditorConfigButton"

src/VisualStudio/Core/Impl/Options/OptionPreviewControl.xaml

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -98,12 +98,13 @@
9898
<Grid>
9999
<Grid.RowDefinitions>
100100
<RowDefinition Height="Auto" />
101+
<RowDefinition Height="5" />
101102
<RowDefinition Height="*" />
102103
<RowDefinition Height="*" />
103104
</Grid.RowDefinitions>
104-
<options:CodeStyleNoticeTextBlock Grid.Row="0"/>
105-
<ContentControl x:Name="listViewContentControl" Grid.Row="1" Grid.Column="0"></ContentControl>
106-
<Border Grid.Row="2" BorderBrush="Gray" BorderThickness="1">
105+
<options:CodeStyleNoticeTextBlock Grid.Row="0" Margin="5 0 5 0"/>
106+
<ContentControl x:Name="listViewContentControl" Grid.Row="2" Grid.Column="0"></ContentControl>
107+
<Border Grid.Row="3" BorderBrush="Gray" BorderThickness="1">
107108
<!-- The AutomationDelegatingListView is referenced from the .xaml.cs, so we just provide
108109
a container for it here. -->
109110
<ContentControl Name="EditorControl" Content="{Binding TextViewHost, Mode=OneWay}" Focusable="False"></ContentControl>

src/VisualStudio/Core/Impl/Options/Style/NamingPreferences/NamingStyleOptionPageControl.xaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@
5050
<RowDefinition Height="auto" />
5151
</Grid.RowDefinitions>
5252
<TextBlock Grid.Row="0" Margin="5 0 5 0 " TextWrapping="Wrap" Text="{x:Static style:NamingStyleOptionPageControl.ExplanatoryText}" />
53-
<options:CodeStyleNoticeTextBlock Grid.Row="2" />
53+
<options:CodeStyleNoticeTextBlock Grid.Row="2" Margin="5 0 5 0" />
5454
<DataGrid
5555
Grid.Row="3"
5656
x:Uid="CodeStyleContent"

0 commit comments

Comments
 (0)