diff --git a/Wox/MainWindow.xaml b/Wox/MainWindow.xaml index 519dc0a9ce..488ed99909 100644 --- a/Wox/MainWindow.xaml +++ b/Wox/MainWindow.xaml @@ -13,15 +13,10 @@ Icon="Images\app.png" > - - - - - - + - + \ No newline at end of file diff --git a/Wox/ResultPanel.xaml b/Wox/ResultPanel.xaml index 66860283d6..0ee4433781 100644 --- a/Wox/ResultPanel.xaml +++ b/Wox/ResultPanel.xaml @@ -4,56 +4,54 @@ xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" xmlns:d="http://schemas.microsoft.com/expression/blend/2008" xmlns:wox="clr-namespace:Wox" - mc:Ignorable="d" - d:DesignHeight="300" d:DesignWidth="300"> + mc:Ignorable="d" d:DesignWidth="100" d:DesignHeight="100" + > - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + - - - - - - - - - - + + + + + + + + + + \ No newline at end of file diff --git a/Wox/ResultPanel.xaml.cs b/Wox/ResultPanel.xaml.cs index 1afa90061e..2a07aaba82 100644 --- a/Wox/ResultPanel.xaml.cs +++ b/Wox/ResultPanel.xaml.cs @@ -39,7 +39,7 @@ namespace Wox int position = GetInsertLocation(result.Score); lbResults.Items.Insert(position, result); } - gridContainer.Margin = lbResults.Items.Count > 0 ? new Thickness { Top = 8 } : new Thickness { Top = 0 }; + lbResults.Margin = lbResults.Items.Count > 0 ? new Thickness { Top = 8 } : new Thickness { Top = 0 }; SelectFirst(); } @@ -150,7 +150,7 @@ namespace Wox public void Clear() { lbResults.Items.Clear(); - gridContainer.Margin = new Thickness { Top = 0 }; + lbResults.Margin = new Thickness { Top = 0 }; } private void lbResults_SelectionChanged(object sender, SelectionChangedEventArgs e) diff --git a/Wox/Themes/Default.xaml b/Wox/Themes/Default.xaml index b11b3c532c..8584b46d38 100644 --- a/Wox/Themes/Default.xaml +++ b/Wox/Themes/Default.xaml @@ -20,7 +20,6 @@