ubuntu-sdk-bugs team mailing list archive
-
ubuntu-sdk-bugs team
-
Mailing list archive
-
Message #06225
[Bug 1540574] Re: [Page] "header" property unusable, hides contents
** Changed in: canonical-devices-system-image
Status: Fix Committed => Fix Released
--
You received this bug notification because you are a member of Ubuntu
SDK bug tracking, which is subscribed to ubuntu-ui-toolkit in Ubuntu.
https://bugs.launchpad.net/bugs/1540574
Title:
[Page] "header" property unusable, hides contents
Status in Canonical System Image:
Fix Released
Status in ubuntu-ui-toolkit package in Ubuntu:
Fix Released
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/canonical-devices-system-image/+bug/1540574/+subscriptions
References