Public bug reported:

ubuntu-ui-toolkit/staging branch, r2139

At the moment to assign paddings of a SlotsLayout you can only do:
SlotsLayout {
  id: myLayout
  padding.top: units.gu(15)
  padding.bottom: units.gu(5)
}

Assigning the whole padding at once is not possible:
SlotsLayout {
  padding: myLayout.padding
}
as that returns 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.

** Affects: ubuntu-ui-toolkit (Ubuntu)
     Importance: Wishlist
     Assignee: Andrea Bernabei (faenil)
         Status: Triaged

-- 
You received this bug notification because you are a member of Ubuntu
Touch seeded packages, which is subscribed to ubuntu-ui-toolkit in
Ubuntu.
https://bugs.launchpad.net/bugs/1631447

Title:
  SlotsLayout padding grouped property needs to assigned member-by-
  member, can't be assigned as a whole

Status in ubuntu-ui-toolkit package in Ubuntu:
  Triaged

Bug description:
  ubuntu-ui-toolkit/staging branch, r2139

  At the moment to assign paddings of a SlotsLayout you can only do:
  SlotsLayout {
    id: myLayout
    padding.top: units.gu(15)
    padding.bottom: units.gu(5)
  }

  Assigning the whole padding at once is not possible:
  SlotsLayout {
    padding: myLayout.padding
  }
  as that returns 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.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/ubuntu-ui-toolkit/+bug/1631447/+subscriptions

-- 
Mailing list: https://launchpad.net/~touch-packages
Post to     : touch-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~touch-packages
More help   : https://help.launchpad.net/ListHelp

Reply via email to