Comment 0 for bug 1631447

Revision history for this message
Marco Trevisan (TreviƱo) (3v1n0) wrote : SlotsLayout paddings can't be bound to another layout values

SlotsLayout {
  id: myLayout
  padding.top: units.gu(15)
  padding.bottom: units.gu(5)
}

SlotsLayout {
  padding: myLayout.padding
}

Would return an error:

Slots.qml: Invalid property assignment: "padding" is a read-only property
So to achieve this we need to manually assign the subvalues.

It would be nice to do it all at once.