Skip to content

Commit df07a64

Browse files
committed
Convert MaxResult editor to TextBox
1 parent b181e0f commit df07a64

File tree

2 files changed

+3
-7
lines changed

2 files changed

+3
-7
lines changed

Plugins/Flow.Launcher.Plugin.Explorer/Flow.Launcher.Plugin.Explorer.csproj

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
<PropertyGroup>
44
<OutputType>Library</OutputType>
5-
<TargetFramework>net7.0-windows10.0.19041.0</TargetFramework>
5+
<TargetFramework>net7.0-windows</TargetFramework>
66
<UseWPF>true</UseWPF>
77
<UseWindowsForms>true</UseWindowsForms>
88
<CopyLocalLockFileAssemblies>true</CopyLocalLockFileAssemblies>
@@ -48,7 +48,6 @@
4848
<PackageReference Include="System.Data.OleDb" Version="8.0.0" />
4949
<PackageReference Include="System.Linq.Async" Version="6.0.1" />
5050
<PackageReference Include="tlbimp-Microsoft.Search.Interop" Version="1.0.0" />
51-
<PackageReference Include="ModernWpfUI" Version="0.9.4" />
5251
</ItemGroup>
5352

5453
<ItemGroup>

Plugins/Flow.Launcher.Plugin.Explorer/Views/ExplorerSettings.xaml

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -356,17 +356,14 @@
356356
VerticalAlignment="Center"
357357
Text="{DynamicResource plugin_explorer_Maximum_Results}"
358358
TextBlock.Foreground="{DynamicResource Color05B}" />
359-
<ui:NumberBox
359+
<TextBox
360360
Grid.Row="4"
361361
Grid.Column="1"
362362
MinWidth="350"
363363
Margin="0,9,0,6"
364364
HorizontalAlignment="Left"
365365
VerticalAlignment="Center"
366-
CornerRadius="4"
367-
SmallChange="10"
368-
SpinButtonPlacementMode="Inline"
369-
Value="{Binding MaxResult, Delay=100}"
366+
Text="{Binding MaxResult}"
370367
ToolTip="{DynamicResource plugin_explorer_Maximum_Results_Tooltip}"/>
371368
</Grid>
372369
</StackPanel>

0 commit comments

Comments
 (0)