mirror of
https://git.mirrors.martin98.com/https://github.com/Ultimaker/Cura
synced 2025-08-11 05:58:58 +08:00
Convert back Row to RowLayout
RowLayout is better for resizable interfaces CURA-7479
This commit is contained in:
parent
62047d585f
commit
df2c20f647
@ -38,7 +38,7 @@ Cura.ExpandablePopup
|
||||
headerItem: Item
|
||||
{
|
||||
// Horizontal list that shows the extruders and their materials
|
||||
Row
|
||||
RowLayout
|
||||
{
|
||||
anchors.fill: parent
|
||||
Repeater
|
||||
@ -46,8 +46,8 @@ Cura.ExpandablePopup
|
||||
model: extrudersModel
|
||||
delegate: Item
|
||||
{
|
||||
width: Math.round(parent.width / extrudersModel.count)
|
||||
height: parent.height
|
||||
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.
|
||||
Cura.ExtruderIcon
|
||||
|
Loading…
x
Reference in New Issue
Block a user