mirror of
https://github.com/Ultimaker/Cura.git
synced 2026-02-08 17:20:55 -07:00
Anchor last-row extruder box to left and right to stretch it
Layout.fillwidth seems to only stretch the box to full width on the first row, but without it the entire thing doesn't stretch. Leaving the width out will make the entire left column stretch so that the right column is no longer visible. It's all a bit weird, this QML stuff. Contributes to issue CURA-3161.
This commit is contained in:
parent
b69ec56f66
commit
6629c8d0cf
1 changed files with 2 additions and 0 deletions
|
|
@ -85,6 +85,8 @@ Column
|
|||
width: extrudersGrid.width / 2 - UM.Theme.getSize("sidebar_lining_thin").width / 2
|
||||
height: UM.Theme.getSize("sidebar_extruder_box").height
|
||||
Layout.fillWidth: index == machineExtruderCount.properties.value - 1 && index % 2 == 0
|
||||
anchors.right: (index == machineExtruderCount.properties.value - 1 && index % 2 == 0) ? parent.right : undefined
|
||||
anchors.left: (index == machineExtruderCount.properties.value - 1 && index % 2 == 0) ? parent.left : undefined
|
||||
|
||||
Label //Extruder name.
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue