mirror of
https://git.mirrors.martin98.com/https://github.com/Ultimaker/Cura
synced 2025-05-21 20:19:32 +08:00
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:
parent
c43b277901
commit
e422eb6ee5
@ -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
|
||||||
|
@ -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
|
||||||
|
Loading…
x
Reference in New Issue
Block a user