From 69935115f312af7c5389f191925d22cb8f12051d Mon Sep 17 00:00:00 2001 From: Jaime van Kessel Date: Fri, 29 Mar 2019 11:44:09 +0100 Subject: [PATCH] Fix some layout issues with the addNetworkedOrLocalPrinter screen CURA-6057 --- resources/qml/WelcomePages/DropDownWidget.qml | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/resources/qml/WelcomePages/DropDownWidget.qml b/resources/qml/WelcomePages/DropDownWidget.qml index 9f413769e0..bbf5344398 100644 --- a/resources/qml/WelcomePages/DropDownWidget.qml +++ b/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