mirror of
https://git.mirrors.martin98.com/https://github.com/Ultimaker/Cura
synced 2025-08-13 05:19:08 +08:00
Display last item with double width if there's room on the right side
If it's on the left side and it's the last item, it gets the entire width. Contributes to issue CURA-3161.
This commit is contained in:
parent
9f66ad1132
commit
2a114f1e53
@ -91,6 +91,7 @@ Column
|
|||||||
color: UM.Theme.getColor("sidebar")
|
color: UM.Theme.getColor("sidebar")
|
||||||
width: extrudersGrid.width / 2 - UM.Theme.getSize("sidebar_lining_thin").width / 2
|
width: extrudersGrid.width / 2 - UM.Theme.getSize("sidebar_lining_thin").width / 2
|
||||||
height: UM.Theme.getSize("sidebar_extruder_box").height
|
height: UM.Theme.getSize("sidebar_extruder_box").height
|
||||||
|
Layout.fillWidth: index == machineExtruderCount.properties.value - 1 && index % 2 == 0
|
||||||
|
|
||||||
Text //Extruder name.
|
Text //Extruder name.
|
||||||
{
|
{
|
||||||
|
Loading…
x
Reference in New Issue
Block a user