Merge pull request #7911 from Ultimaker/CURA-7479_ConfigurationMenu_nozzles_get_stacked_together

CURA-7479: Change preferredWidth according to the model count in ConfigurationMenu
This commit is contained in:
Nino van Hooff 2020-06-10 16:26:26 +02:00 committed by GitHub
commit 64064fe8d5
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -46,7 +46,7 @@ Cura.ExpandablePopup
model: extrudersModel
delegate: Item
{
Layout.fillWidth: true
Layout.preferredWidth: Math.round(parent.width / extrudersModel.count)
Layout.fillHeight: true
// Extruder icon. Shows extruder index and has the same color as the active material.