From e422eb6ee5c11e48ff1ef72ec6f2f4692b855b7d Mon Sep 17 00:00:00 2001 From: fieldOfView Date: Wed, 14 Sep 2016 08:15:43 +0200 Subject: [PATCH] Fix sidebar height when switching to UM2 When switching from a multiextrusion printer to the UM2, sometimes too much whitespace would be left for the sidebar header --- resources/qml/Sidebar.qml | 1 - resources/qml/SidebarHeader.qml | 1 - 2 files changed, 2 deletions(-) diff --git a/resources/qml/Sidebar.qml b/resources/qml/Sidebar.qml index b76a41fc37..036f1283cc 100644 --- a/resources/qml/Sidebar.qml +++ b/resources/qml/Sidebar.qml @@ -149,7 +149,6 @@ Rectangle SidebarHeader { id: header width: parent.width - height: totalHeightHeader anchors.top: sidebarHeaderBar.bottom anchors.topMargin: UM.Theme.getSize("default_margin").height diff --git a/resources/qml/SidebarHeader.qml b/resources/qml/SidebarHeader.qml index eb465574a2..925dd940f5 100644 --- a/resources/qml/SidebarHeader.qml +++ b/resources/qml/SidebarHeader.qml @@ -14,7 +14,6 @@ Column { id: base; - property int totalHeightHeader: childrenRect.height property int currentExtruderIndex: ExtruderManager.activeExtruderIndex; spacing: UM.Theme.getSize("default_margin").height