diff --git a/components/StatusBar.qml b/components/StatusBar.qml
index 03050bd6d9eff7f976b246f39125dc02b5b79742..92bea2568de2c6f43206442252f8a795f9ac9b16 100644
--- a/components/StatusBar.qml
+++ b/components/StatusBar.qml
@@ -2,8 +2,11 @@ import QtQuick 1.1
 import "."
 import "custom" as Components
 
-StyleItem {
-    implicitWidth: parent ? parent.width : 200
-    implicitHeight: 24
-    elementType: "statusbar"
+Item {
+    width: parent ? parent.width : 200
+    height: 24
+    StyleItem {
+        anchors.fill: parent
+        elementType: "statusbar"
+    }
 }