[Page] "header" property unusable, hides contents
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Canonical System Image |
Fix Released
|
High
|
Zoltan Balogh | ||
ubuntu-ui-toolkit (Ubuntu) |
Fix Released
|
High
|
Tim Peeters |
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
Label {
}
}
}
}
If you run this, you won't see the "Hello world!" text unless you pan down the view.
Related branches
- ubuntu-sdk-build-bot: Approve (continuous-integration)
- Zsombor Egri: Approve
-
Diff: 675 lines (+191/-210)7 files modifiedsrc/Ubuntu/Components/1.3/AdaptivePageLayout.qml (+76/-53)
src/Ubuntu/Components/1.3/MainView.qml (+23/-33)
src/Ubuntu/Components/1.3/Page.qml (+76/-95)
src/Ubuntu/Components/1.3/PageHeader.qml (+3/-0)
src/Ubuntu/Components/Themes/Ambiance/1.3/MainViewStyle.qml (+2/-0)
src/Ubuntu/Components/plugin/ucheader.cpp (+1/-5)
src/Ubuntu/Components/plugin/ucmainviewbase.cpp (+10/-24)
Changed in canonical-devices-system-image: | |
status: | New → Fix Committed |
importance: | Undecided → High |
assignee: | nobody → Zoltan Balogh (bzoltan) |
milestone: | none → ww08-2016 |
Changed in canonical-devices-system-image: | |
status: | Fix Committed → Fix Released |
Please read the docs, if you have Flickable content, you must link the flickable to the PagerHeader.