Remove "Extruder Configuration" text

CURA-4211
This commit is contained in:
Lipu Fei 2017-09-06 12:43:42 +02:00
parent fc7207e77e
commit e163cc0d84

View File

@ -17,11 +17,23 @@ Column
property int currentExtruderIndex: ExtruderManager.activeExtruderIndex; property int currentExtruderIndex: ExtruderManager.activeExtruderIndex;
property bool currentExtruderVisible: extrudersList.visible; property bool currentExtruderVisible: extrudersList.visible;
spacing: UM.Theme.getSize("sidebar_margin").height spacing: UM.Theme.getSize("sidebar_margin").height / 2
signal showTooltip(Item item, point location, string text) signal showTooltip(Item item, point location, string text)
signal hideTooltip() signal hideTooltip()
Item
{
anchors
{
left: parent.left
right: parent.right
}
visible: extruderSelectionRow.visible
height: UM.Theme.getSize("default_lining").height
width: height
}
Item Item
{ {
anchors anchors
@ -30,23 +42,10 @@ Column
leftMargin: UM.Theme.getSize("sidebar_margin").width leftMargin: UM.Theme.getSize("sidebar_margin").width
right: parent.right right: parent.right
rightMargin: UM.Theme.getSize("sidebar_margin").width rightMargin: UM.Theme.getSize("sidebar_margin").width
topMargin: UM.Theme.getSize("default_margin").height
} }
visible: extruderSelectionRow.visible visible: extruderSelectionRow.visible
height: syncMachineButton.height + UM.Theme.getSize("sidebar_margin").height / 2 height: UM.Theme.getSize("default_lining").hieght
width: height
Label
{
id: extruderSelectionLabel
anchors.verticalCenter: parent.verticalCenter
anchors.left: parent.left
height: UM.Theme.getSize("sidebar_tabs").height / 3
text: catalog.i18nc("@label", "Extruder configuration")
font: UM.Theme.getFont("large")
color: UM.Theme.getColor("text")
visible: extruderSelectionRow.visible
}
} }
Item Item
@ -59,9 +58,10 @@ Column
anchors anchors
{ {
left: parent.left left: parent.left
leftMargin: UM.Theme.getSize("default_margin").width * 1.5 leftMargin: UM.Theme.getSize("default_margin").width * 1.4
right: parent.right right: parent.right
rightMargin: UM.Theme.getSize("default_margin").width * 1.5 rightMargin: UM.Theme.getSize("default_margin").width * 1.4
topMargin: UM.Theme.getSize("default_margin").height
} }
ListView ListView