|
112 | 112 | Content="{Resx ResxName=Rubberduck.Resources.Settings.AutoCompletesPage, Key=ConcatVbNewLine}" />
|
113 | 113 |
|
114 | 114 | <Label Margin="15,0,15,0" Content="{Resx ResxName=Rubberduck.Resources.Settings.AutoCompletesPage, Key=MaxConcatLines}" />
|
115 |
| - <controls:NumberPicker Margin="15,0,15,0" DataContext="{Binding Path=DataContext, Mode=OneWay, NotifyOnTargetUpdated=True, NotifyOnSourceUpdated=True, RelativeSource={RelativeSource FindAncestor, AncestorType={x:Type settings:AutoCompleteSettings}}}" |
| 115 | + <StackPanel Orientation="Horizontal" Margin="15,0,15,0"> |
| 116 | + <TextBox Margin="5,5,0,5" Height="20" Width="50" Text="{Binding ConcatMaxLines, Mode=TwoWay, StringFormat=\{0:D\}, UpdateSourceTrigger=PropertyChanged, ValidatesOnDataErrors=True}" VerticalAlignment="Top" VerticalContentAlignment="Center" /> |
| 117 | + <StackPanel Margin="0,5" > |
| 118 | + <Button Height="10" Width="20" Command="{Binding IncrementMaxConcatLinesCommand}"> |
| 119 | + <TextBlock Text="˄" FontSize="10" Margin="0,-4,0,0"/> |
| 120 | + </Button> |
| 121 | + <Button Height="10" Width="20" Command="{Binding DecrementMaxConcatLinesCommand}"> |
| 122 | + <TextBlock Text="˅" FontSize="10" Margin="0,-3,0,0"/> |
| 123 | + </Button> |
| 124 | + </StackPanel> |
| 125 | + </StackPanel> |
| 126 | + |
| 127 | + <!--<controls:NumberPicker Margin="15,0,15,0" DataContext="{Binding Path=DataContext, Mode=OneWay, NotifyOnTargetUpdated=True, NotifyOnSourceUpdated=True, RelativeSource={RelativeSource FindAncestor, AncestorType={x:Type settings:AutoCompleteSettings}}}" |
116 | 128 | NumValue="{Binding Path=DataContext.ConcatMaxLines, RelativeSource={RelativeSource Self}, UpdateSourceTrigger=PropertyChanged, ValidatesOnDataErrors=True}"
|
117 | 129 | MinNumber="{Binding Path=DataContext.ConcatMaxLinesMinValue, RelativeSource={RelativeSource Self}}"
|
118 | 130 | MaxNumber="{Binding Path=DataContext.ConcatMaxLinesMaxValue, RelativeSource={RelativeSource Self}}">
|
119 | 131 |
|
120 |
| - </controls:NumberPicker> |
| 132 | + </controls:NumberPicker>--> |
121 | 133 | <Label Margin="10"
|
122 | 134 | Content="{Resx ResxName=Rubberduck.Resources.Settings.AutoCompletesPage, Key=BlockCompletion}"
|
123 | 135 | FontWeight="Bold" />
|
|
0 commit comments