touch-packages team mailing list archive
-
touch-packages team
-
Mailing list archive
-
Message #133570
[Bug 1540574] Re: [Page] "header" property unusable, hides contents
Please read the docs, if you have Flickable content, you must link the
flickable to the PagerHeader.
** Changed in: ubuntu-ui-toolkit (Ubuntu)
Status: New => Invalid
--
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/1540574
Title:
[Page] "header" property unusable, hides contents
Status in ubuntu-ui-toolkit package in Ubuntu:
Invalid
Bug description:
When setting the "header" property of a page, the page scrolling
mechanism stops working, so the page contents get hidden under the
header:
import QtQuick 2.4
import Ubuntu.Components 1.3
MainView {
width: units.gu(48)
height: units.gu(60)
Page {
id: page
title: i18n.tr("Example page")
flickable: flick
header: PageHeader {
title: page.title
}
Flickable {
id: flick
anchors.fill: parent
contentHeight: contentItem.childrenRect.height
Label {
text: i18n.tr("Hello world!")
}
}
}
}
If you run this, you won't see the "Hello world!" text unless you pan
down the view.
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/ubuntu-ui-toolkit/+bug/1540574/+subscriptions
References