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
This commit is contained in:
fieldOfView 2016-09-14 08:15:43 +02:00
parent c43b277901
commit e422eb6ee5
2 changed files with 0 additions and 2 deletions

View File

@ -149,7 +149,6 @@ Rectangle
SidebarHeader { SidebarHeader {
id: header id: header
width: parent.width width: parent.width
height: totalHeightHeader
anchors.top: sidebarHeaderBar.bottom anchors.top: sidebarHeaderBar.bottom
anchors.topMargin: UM.Theme.getSize("default_margin").height anchors.topMargin: UM.Theme.getSize("default_margin").height

View File

@ -14,7 +14,6 @@ Column
{ {
id: base; id: base;
property int totalHeightHeader: childrenRect.height
property int currentExtruderIndex: ExtruderManager.activeExtruderIndex; property int currentExtruderIndex: ExtruderManager.activeExtruderIndex;
spacing: UM.Theme.getSize("default_margin").height spacing: UM.Theme.getSize("default_margin").height