Fixed UI spacing if there is no material conflict in project load

CURA-1263
This commit is contained in:
Jaime van Kessel 2016-12-02 15:31:55 +01:00
parent a0813b3af3
commit a1acfe167c

View file

@ -217,6 +217,7 @@ UM.Dialog
{ {
width: parent.width width: parent.width
height: childrenRect.height height: childrenRect.height
visible: manager.materialConflict
Item Item
{ {
width: parent.width / 3 * 2 width: parent.width / 3 * 2
@ -228,7 +229,7 @@ UM.Dialog
id: materialResolveTooltip id: materialResolveTooltip
width: parent.width / 3 width: parent.width / 3
height: visible ? comboboxHeight : 0 height: visible ? comboboxHeight : 0
visible: manager.materialConflict
text: catalog.i18nc("@info:tooltip", "How should the conflict in the material be resolved?") text: catalog.i18nc("@info:tooltip", "How should the conflict in the material be resolved?")
ComboBox ComboBox
{ {