Просмотр исходного кода

Fixed some leftover graphical issues

CURA-5943
Jaime van Kessel 6 лет назад
Родитель
Сommit
59a81be65c

+ 19 - 0
plugins/USBPrinting/MonitorItem.qml

@@ -22,6 +22,25 @@ Component
             {
                 anchors.fill: parent
             }
+
+            Rectangle
+            {
+                id: footerSeparator
+                width: parent.width
+                height: UM.Theme.getSize("wide_lining").height
+                color: UM.Theme.getColor("wide_lining")
+                anchors.bottom: monitorButton.top
+                anchors.bottomMargin: UM.Theme.getSize("thick_margin").height
+            }
+
+            // MonitorButton is actually the bottom footer panel.
+            Cura.MonitorButton
+            {
+                id: monitorButton
+                anchors.bottom: parent.bottom
+                anchors.left: parent.left
+                anchors.right: parent.right
+            }
         }
     }
 }

+ 2 - 2
resources/qml/PrinterOutput/OutputDeviceHeader.qml

@@ -45,8 +45,8 @@ Item
             text: (outputDevice != null && outputDevice.address != null) ? outputDevice.address : ""
             font: UM.Theme.getFont("small")
             color: UM.Theme.getColor("text_inactive")
-            anchors.top: parent.top
-            anchors.right: parent.right
+            anchors.top: outputDeviceNameLabel.bottom
+            anchors.left: parent.left
             anchors.margins: UM.Theme.getSize("default_margin").width
         }