mirror of
https://github.com/microsoft/PowerToys.git
synced 2026-04-07 19:57:07 +02:00
Limit the display result item to 6 at most.
This commit is contained in:
@@ -6,6 +6,7 @@ using System.Windows.Controls;
|
||||
using System.Windows.Forms;
|
||||
using System.Windows.Input;
|
||||
using System.Windows.Media;
|
||||
using System.Windows.Media.Animation;
|
||||
using Wox.Helper;
|
||||
using Wox.Infrastructure;
|
||||
using Wox.Plugin;
|
||||
@@ -42,6 +43,12 @@ namespace Wox
|
||||
SelectFirst();
|
||||
}
|
||||
|
||||
public void AnimateListBoxResultChange()
|
||||
{
|
||||
//todo:
|
||||
var da = new DoubleAnimation(lbResults.ActualHeight, ActualWidth + 100, new Duration(new TimeSpan(0, 0, 0, 0, 1600)));
|
||||
}
|
||||
|
||||
private int GetInsertLocation(int currentScore)
|
||||
{
|
||||
int location = lbResults.Items.Count;
|
||||
|
||||
Reference in New Issue
Block a user