As Andrea said, this is the expected behavior.

The PageHeader will update the topMargin of the flickable that you set
in order to ensure enough space for the header when it is visible. In
addition to that, you set another topMargin inside the Flickable. We had
to make a choice to either let the app developer always set the
topMargin in the apps, or do it automatically when you set
PageHeader.flickable. We chose the latter. There were some bugs related
to that which were fixed in the MR you linked which probably caused the
issues for you, but changing the behavior back will re-introduce those
bugs.

I'm not sure what the use case of this construction is, but perhaps this would 
work as a solution for you: http://paste.ubuntu.com/15948932/
There I add the PageHeader inside the ListView delegate so that each of the 
Items in the ListView has its own header instead of sharing one header that 
shows/hides depending on what is the currently selected item in the ListView.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1572525

Title:
  [regression] Double header height is set as flickable topMargin

To manage notifications about this bug go to:
https://bugs.launchpad.net/canonical-devices-system-image/+bug/1572525/+subscriptions

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to