← Back to team overview

ubuntu-sdk-bugs team mailing list archive

[Bug 1256356] Re: ListItem.ItemSelector, scrolling doesn't work by default

 

** Changed in: ubuntu-ui-toolkit
       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/1256356

Title:
  ListItem.ItemSelector, scrolling doesn't work by default

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

Bug description:
  Using current trusty, that example doesn't scroll

  "import QtQuick 2.0
  import Ubuntu.Components 0.1
  import Ubuntu.Components.ListItems 0.1 as ListItem

  MainView {

      height: 300
      width: 150

      ListItem.ItemSelector {
          anchors.top: parent.top
          anchors.bottom: parent.bottom

          expanded: true
          model: ["list", "of", "options", "needing", "some", "vertical", "scrolling"]
      }
  }"

  It works if you add "containerHeight: height"... shouldn't that be the
  default?

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