Cannot do it simpler. CURA-2763

This commit is contained in:
Jack Ha 2016-12-07 15:40:25 +01:00
parent 4ecd1a0fe3
commit 7694b8f128

View File

@ -61,16 +61,24 @@ Column
} }
} }
/*Rectangle Row
{
id: extruderSelectionRow
width: parent.width
height: UM.Theme.getSize("sidebar_tabs").height
visible: machineExtruderCount.properties.value > 1 && !sidebar.monitoringPrint
Rectangle
{ {
id: extruderSeparator id: extruderSeparator
// anchors.verticalCenter: parent.verticalCenter visible: machineExtruderCount.properties.value > 1 && !sidebar.monitoringPrint
// anchors.top: machineSelectionRow.bottom
width: parent.width width: parent.width
height: UM.Theme.getSize("sidebar_lining").height height: parent.height
color: UM.Theme.getColor("sidebar_lining") color: UM.Theme.getColor("sidebar_lining")
}*/
anchors.top: extruderSelectionRow.top
}
ListView ListView
{ {
@ -78,13 +86,13 @@ Column
property var index: 0 property var index: 0
height: UM.Theme.getSize("sidebar_header_mode_tabs").height height: UM.Theme.getSize("sidebar_header_mode_tabs").height
boundsBehavior: Flickable.StopAtBounds boundsBehavior: Flickable.StopAtBounds
anchors anchors
{ {
left: parent.left left: parent.left
right: parent.right right: parent.right
bottom: extruderSelectionRow.bottom
} }
ExclusiveGroup { id: extruderMenuGroup; } ExclusiveGroup { id: extruderMenuGroup; }
@ -169,6 +177,7 @@ Column
} }
} }
} }
}
Row Row
{ {
@ -183,7 +192,6 @@ Column
leftMargin: UM.Theme.getSize("default_margin").width leftMargin: UM.Theme.getSize("default_margin").width
right: parent.right right: parent.right
rightMargin: UM.Theme.getSize("default_margin").width rightMargin: UM.Theme.getSize("default_margin").width
top: extrudersList.bottom
} }
Label Label