|
87 | 87 | </ComboBox> |
88 | 88 |
|
89 | 89 | <TextBlock Grid.Row="2" Grid.Column="0" |
| 90 | + Text="{DynamicResource Text.Preference.General.SubjectGuideLength}" |
| 91 | + HorizontalAlignment="Right" |
| 92 | + Margin="0,0,16,0"/> |
| 93 | + <NumericUpDown Grid.Row="2" Grid.Column="1" |
| 94 | + Minimum="50" Maximum="1000" Increment="1" |
| 95 | + Height="28" |
| 96 | + Padding="4" |
| 97 | + ShowButtonSpinner="False" |
| 98 | + BorderThickness="1" BorderBrush="{DynamicResource Brush.Border1}" |
| 99 | + CornerRadius="3" |
| 100 | + Value="{Binding SubjectGuideLength, Mode=TwoWay}"/> |
| 101 | + |
| 102 | + <TextBlock Grid.Row="3" Grid.Column="0" |
90 | 103 | Text="{DynamicResource Text.Preference.General.MaxHistoryCommits}" |
91 | 104 | HorizontalAlignment="Right" |
92 | 105 | Margin="0,0,16,0"/> |
93 | | - <Grid Grid.Row="2" Grid.Column="1" ColumnDefinitions="*,64"> |
| 106 | + <Grid Grid.Row="3" Grid.Column="1" ColumnDefinitions="*,64"> |
94 | 107 | <Slider Grid.Column="0" |
95 | 108 | Minimum="20000" Maximum="100000" |
96 | 109 | TickPlacement="BottomRight" TickFrequency="5000" |
|
113 | 126 | Foreground="{DynamicResource Brush.FG1}" |
114 | 127 | Text="{Binding MaxHistoryCommits}"/> |
115 | 128 | </Grid> |
116 | | - |
117 | | - <TextBlock Grid.Row="3" Grid.Column="0" |
118 | | - Text="{DynamicResource Text.Preference.General.SubjectGuideLength}" |
119 | | - HorizontalAlignment="Right" |
120 | | - Margin="0,0,16,0"/> |
121 | | - <Grid Grid.Row="3" Grid.Column="1" ColumnDefinitions="*,64"> |
122 | | - <Slider Grid.Column="0" |
123 | | - Minimum="50" Maximum="250" |
124 | | - TickPlacement="BottomRight" TickFrequency="4" |
125 | | - IsSnapToTickEnabled="False" |
126 | | - VerticalAlignment="Center" |
127 | | - Foreground="{DynamicResource Brush.Border1}" |
128 | | - Value="{Binding SubjectGuideLength, Mode=TwoWay}"> |
129 | | - <Slider.Resources> |
130 | | - <Thickness x:Key="SliderTopHeaderMargin">0,0,0,4</Thickness> |
131 | | - <GridLength x:Key="SliderPreContentMargin">0</GridLength> |
132 | | - <GridLength x:Key="SliderPostContentMargin">0</GridLength> |
133 | | - <CornerRadius x:Key="SliderThumbCornerRadius">8</CornerRadius> |
134 | | - <x:Double x:Key="SliderHorizontalThumbWidth">16</x:Double> |
135 | | - <x:Double x:Key="SliderHorizontalThumbHeight">16</x:Double> |
136 | | - </Slider.Resources> |
137 | | - </Slider> |
138 | | - |
139 | | - <TextBlock Grid.Column="1" |
140 | | - HorizontalAlignment="Right" VerticalAlignment="Center" |
141 | | - Foreground="{DynamicResource Brush.FG1}" |
142 | | - Text="{Binding SubjectGuideLength}"/> |
143 | | - </Grid> |
144 | 129 |
|
145 | 130 | <CheckBox Grid.Row="4" Grid.Column="1" |
146 | 131 | Content="{DynamicResource Text.Preference.General.RestoreTabs}" |
|
0 commit comments