Browse Source

Fix some layout issues with the addNetworkedOrLocalPrinter screen

CURA-6057
Jaime van Kessel 6 years ago
parent
commit
69935115f3
1 changed files with 3 additions and 2 deletions
  1. 3 2
      resources/qml/WelcomePages/DropDownWidget.qml

+ 3 - 2
resources/qml/WelcomePages/DropDownWidget.qml

@@ -59,11 +59,12 @@ Item
         anchors.top: header.bottom
         anchors.left: header.left
         anchors.right: header.right
-        height: contentLoader.height
+        // Add 2x lining, because it needs a bit of space on the top and the bottom.
+        height: contentLoader.height + 2 * UM.Theme.getSize("thick_lining").height
 
         border.width: UM.Theme.getSize("default_lining").width
         border.color: UM.Theme.getColor("lining")
-        color: "white"
+        color: UM.Theme.getColor("main_background")
         radius: UM.Theme.getSize("default_radius").width
         visible: base.contentShown
         cornerSide: Cura.RoundedRectangle.Direction.Down