mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-07-07 23:17:32 -06:00
Convert back Row to RowLayout
RowLayout is better for resizable interfaces CURA-7479
This commit is contained in:
parent
62047d585f
commit
df2c20f647
1 changed files with 3 additions and 3 deletions
|
@ -38,7 +38,7 @@ Cura.ExpandablePopup
|
||||||
headerItem: Item
|
headerItem: Item
|
||||||
{
|
{
|
||||||
// Horizontal list that shows the extruders and their materials
|
// Horizontal list that shows the extruders and their materials
|
||||||
Row
|
RowLayout
|
||||||
{
|
{
|
||||||
anchors.fill: parent
|
anchors.fill: parent
|
||||||
Repeater
|
Repeater
|
||||||
|
@ -46,8 +46,8 @@ Cura.ExpandablePopup
|
||||||
model: extrudersModel
|
model: extrudersModel
|
||||||
delegate: Item
|
delegate: Item
|
||||||
{
|
{
|
||||||
width: Math.round(parent.width / extrudersModel.count)
|
Layout.preferredWidth: Math.round(parent.width / extrudersModel.count)
|
||||||
height: parent.height
|
Layout.fillHeight: true
|
||||||
|
|
||||||
// Extruder icon. Shows extruder index and has the same color as the active material.
|
// Extruder icon. Shows extruder index and has the same color as the active material.
|
||||||
Cura.ExtruderIcon
|
Cura.ExtruderIcon
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue