diff --git a/Flow.Launcher/MainWindow.xaml.cs b/Flow.Launcher/MainWindow.xaml.cs
index 2dc0acd9c..973be252c 100644
--- a/Flow.Launcher/MainWindow.xaml.cs
+++ b/Flow.Launcher/MainWindow.xaml.cs
@@ -207,9 +207,9 @@ namespace Flow.Launcher
private void InitProgressbarAnimation()
{
- var da = new DoubleAnimation(ProgressBar.X2, 900 + 100,
+ var da = new DoubleAnimation(ProgressBar.X2, ActualWidth + 100 + 100,
new Duration(new TimeSpan(0, 0, 0, 0, 1600)));
- var da1 = new DoubleAnimation(ProgressBar.X1, 900, new Duration(new TimeSpan(0, 0, 0, 0, 1600)));
+ var da1 = new DoubleAnimation(ProgressBar.X1, ActualWidth + 100, new Duration(new TimeSpan(0, 0, 0, 0, 1600)));
Storyboard.SetTargetProperty(da, new PropertyPath("(Line.X2)"));
Storyboard.SetTargetProperty(da1, new PropertyPath("(Line.X1)"));
_progressBarStoryboard.Children.Add(da);
diff --git a/Flow.Launcher/Themes/Metro Server.xaml b/Flow.Launcher/Themes/Metro Server.xaml
index 9e3bcec17..800b8fc09 100644
--- a/Flow.Launcher/Themes/Metro Server.xaml
+++ b/Flow.Launcher/Themes/Metro Server.xaml
@@ -42,6 +42,7 @@
+