Fix display of long names in sync configuration menu

This commit is contained in:
Jaime van Kessel 2019-02-05 13:31:50 +01:00
parent d59889a4ab
commit b6f5dd8f94
2 changed files with 15 additions and 5 deletions

View file

@ -52,7 +52,7 @@ Button
anchors
{
left: parent.left
leftMargin: UM.Theme.getSize("wide_margin").width
leftMargin: UM.Theme.getSize("default_margin").width
right: parent.right
rightMargin: UM.Theme.getSize("wide_margin").width
}
@ -63,10 +63,10 @@ Button
{
id: repeater
model: configuration.extruderConfigurations
width: parent.width
delegate: PrintCoreConfiguration
{
width: Math.round(parent.width / 2)
width: Math.round(parent.width / configuration.extruderConfigurations.length)
printCoreConfiguration: modelData
visible: configurationItem.isValidMaterial
}