Convert MaxResult editor to TextBox

This commit is contained in:
Ishmaeel 2024-08-10 11:17:00 +10:00
parent b181e0f7a4
commit df07a64661
2 changed files with 3 additions and 7 deletions

View file

@ -2,7 +2,7 @@
<PropertyGroup>
<OutputType>Library</OutputType>
<TargetFramework>net7.0-windows10.0.19041.0</TargetFramework>
<TargetFramework>net7.0-windows</TargetFramework>
<UseWPF>true</UseWPF>
<UseWindowsForms>true</UseWindowsForms>
<CopyLocalLockFileAssemblies>true</CopyLocalLockFileAssemblies>
@ -48,7 +48,6 @@
<PackageReference Include="System.Data.OleDb" Version="8.0.0" />
<PackageReference Include="System.Linq.Async" Version="6.0.1" />
<PackageReference Include="tlbimp-Microsoft.Search.Interop" Version="1.0.0" />
<PackageReference Include="ModernWpfUI" Version="0.9.4" />
</ItemGroup>
<ItemGroup>

View file

@ -356,17 +356,14 @@
VerticalAlignment="Center"
Text="{DynamicResource plugin_explorer_Maximum_Results}"
TextBlock.Foreground="{DynamicResource Color05B}" />
<ui:NumberBox
<TextBox
Grid.Row="4"
Grid.Column="1"
MinWidth="350"
Margin="0,9,0,6"
HorizontalAlignment="Left"
VerticalAlignment="Center"
CornerRadius="4"
SmallChange="10"
SpinButtonPlacementMode="Inline"
Value="{Binding MaxResult, Delay=100}"
Text="{Binding MaxResult}"
ToolTip="{DynamicResource plugin_explorer_Maximum_Results_Tooltip}"/>
</Grid>
</StackPanel>