Skip to content

Commit 09c7ebe

Browse files
committed
Fix setting header indentation
1 parent ca0da18 commit 09c7ebe

File tree

1 file changed

+5
-10
lines changed

1 file changed

+5
-10
lines changed

RetailCoder.VBE/UI/Settings/GeneralSettings.xaml

Lines changed: 5 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -69,12 +69,6 @@
6969
<Grid>
7070
<ScrollViewer>
7171
<Grid>
72-
<Grid.RowDefinitions>
73-
<RowDefinition Height="Auto"/>
74-
<RowDefinition Height="Auto"/>
75-
<RowDefinition Height="*"/>
76-
</Grid.RowDefinitions>
77-
7872
<StackPanel Grid.Row="0" Margin="5,5,5,0">
7973
<Label DockPanel.Dock="Top"
8074
Background="DarkGray"
@@ -134,11 +128,10 @@
134128
IsChecked="{Binding DetailedLoggingEnabled, Mode=TwoWay, UpdateSourceTrigger=PropertyChanged}"
135129
HorizontalAlignment="Left" />
136130
</StackPanel>
137-
</StackPanel>
138131

139-
<Label Grid.Row="1" Content="{Resx ResxName=Rubberduck.UI.RubberduckUI, Key=GeneralSettings_HotkeysLabel}" FontWeight="SemiBold" />
132+
<Label Content="{Resx ResxName=Rubberduck.UI.RubberduckUI, Key=GeneralSettings_HotkeysLabel}" FontWeight="SemiBold" />
140133

141-
<DataGrid Grid.Row="2" ItemsSource="{Binding Hotkeys}"
134+
<DataGrid ItemsSource="{Binding Hotkeys}"
142135
HorizontalAlignment="Stretch"
143136
AutoGenerateColumns="False"
144137
CanUserDeleteRows="False"
@@ -154,6 +147,7 @@
154147
HorizontalScrollBarVisibility="Hidden"
155148
ItemContainerStyle="{StaticResource PrettifyRow}"
156149
ColumnHeaderHeight="22"
150+
Height="100"
157151
BorderThickness="0">
158152
<DataGrid.CellStyle>
159153
<Style TargetType="{x:Type DataGridCell}">
@@ -206,7 +200,8 @@
206200
</DataGridTemplateColumn.CellTemplate>
207201
</DataGridTemplateColumn>
208202
</DataGrid.Columns>
209-
</DataGrid>
203+
</DataGrid>
204+
</StackPanel>
210205
</Grid>
211206
</ScrollViewer>
212207
</Grid>

0 commit comments

Comments
 (0)