Browse Source

Update MonitorSection

CURA-5943
Lipu Fei 6 years ago
parent
commit
45d4f2ad3d
1 changed files with 7 additions and 6 deletions
  1. 7 6
      resources/qml/PrinterOutput/MonitorSection.qml

+ 7 - 6
resources/qml/PrinterOutput/MonitorSection.qml

@@ -1,10 +1,10 @@
 // Copyright (c) 2017 Ultimaker B.V.
 // Cura is released under the terms of the LGPLv3 or higher.
 
-import QtQuick 2.2
-import QtQuick.Controls 1.1
-import QtQuick.Controls.Styles 1.1
-import QtQuick.Layouts 1.1
+import QtQuick 2.10
+import QtQuick.Controls 1.4
+import QtQuick.Controls.Styles 1.4
+import QtQuick.Layouts 1.3
 
 import UM 1.2 as UM
 import Cura 1.0 as Cura
@@ -13,7 +13,8 @@ Item
 {
     id: base
     property string label
-    height: childrenRect.height;
+    height: childrenRect.height
+
     Rectangle
     {
         color: UM.Theme.getColor("setting_category")
@@ -30,4 +31,4 @@ Item
             color: UM.Theme.getColor("setting_category_text")
         }
     }
-}
+}