[PageStack] Pages does not get correct anchored in the PageStack area
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Ubuntu UI Toolkit |
Fix Released
|
Critical
|
Tim Peeters | ||
ubuntu-ui-toolkit (Ubuntu) |
Fix Released
|
Undecided
|
Unassigned | ||
Vivid |
New
|
Undecided
|
Unassigned |
Bug Description
Pages does not get correct anchored in a PageStack.
For example this code, causes the MyPage to overlaps the red rectangle.
OBS: PageStack is anchored on the top of the Rectangle, the MyPage should not overlap it.
import QtQuick 2.0
import Ubuntu.Components 1.1
MainView {
id: mainView
width: units.gu(40)
height: units.gu(71)
anchorToKey
PageStack {
id: mainStack
anchors { left: parent.left; right: parent.right; top: parent.top; bottom: rect.top}
}
Rectangle {
id: rect
color: "red"
anchors { left: parent.left; right: parent.right; bottom: parent.bottom; }
height: units.gu(10)
}
Component.
}
Related branches
- PS Jenkins bot: Approve (continuous-integration)
- Zsombor Egri: Approve
-
Diff: 47 lines (+37/-0)1 file modifiedmodules/Ubuntu/Components/PageStack.qml (+37/-0)
Changed in ubuntu-ui-toolkit: | |
status: | New → Confirmed |
importance: | Undecided → Medium |
assignee: | nobody → Tim Peeters (tpeeters) |
importance: | Medium → High |
tags: | added: rtm14 |
Changed in ubuntu-ui-toolkit: | |
status: | Confirmed → In Progress |
Changed in ubuntu-ui-toolkit: | |
status: | Fix Committed → Fix Released |
Changed in ubuntu-ui-toolkit (Ubuntu): | |
status: | New → Fix Released |
This breaks MainView. anchorToKeyboar d when there is a PageStack in the MainView.