← Back to team overview

touch-packages team mailing list archive

[Bug 1349366] Re: [PageStack] Pages does not get correct anchored in the PageStack area

 

** Changed in: ubuntu-ui-toolkit (Ubuntu)
       Status: New => Fix Released

-- 
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/1349366

Title:
  [PageStack] Pages does not get correct anchored in the PageStack area

Status in Ubuntu UI Toolkit:
  Fix Released
Status in ubuntu-ui-toolkit package in Ubuntu:
  Fix Released

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)
      anchorToKeyboard: true

      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.onCompleted: mainStack.push(Qt.resolvedUrl("MyPage.qml"))
  }

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu-ui-toolkit/+bug/1349366/+subscriptions