← Back to team overview

touch-packages team mailing list archive

[Bug 1358423] Re: topMargin can become wrong on page structure changes

 

** No longer affects: ubuntu-ui-toolkit

-- 
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/1358423

Title:
  topMargin can become wrong on page structure changes

Status in “ubuntu-ui-toolkit” package in Ubuntu:
  Confirmed

Bug description:
  That created bug #1356292 in ubuntu-system-settings

  Copying a potential explanation of the issue (from IRC discussions)

  "I guess what happens is that the Page detects the listview being top-
  anchored but then fails to detect that changes during runtime and
  keeps on setting topMargin on the ListView

  a flickable is auto-detected and assigned to Page.flickable, of which
  the margins are updated by the header

  if you set Page.flickable to null, you'll have a fixed header and all contents below it
  "

  
  I'm attaching a small example, that's using a page with a non visible button and a listview, once the list is loaded the button is made visible, which leads to have the list incorrectly placed.

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