UI changes.

This commit is contained in:
qianlifeng
2014-02-21 18:59:47 +08:00
parent 18ee6ecf80
commit a9123d2966
6 changed files with 65 additions and 24 deletions

View File

@@ -1,4 +1,6 @@
using System.Collections.Generic;
using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.Windows;
using System.Windows.Controls;
using Wox.Helper;
@@ -23,7 +25,6 @@ namespace Wox
lbResults.Items.Insert(position, result);
}
gridContainer.Margin = lbResults.Items.Count > 0 ? new Thickness { Top = 8 } : new Thickness { Top = 0 };
lbResults.UpdateLayout();
SelectFirst();
}