I am currently working on ScrollingActionBarStyle for the scrolling of
icons in the toolbar, and for this I currently have code like this:

    //  when StyledItem supports cursor keys navigation, see bug #1573616
    defaultDelegate: ListItem {
        width: units.gu(4)
        height: units.gu(4)
        AbstractButton {
            anchors.fill: parent
            style: IconButtonStyle { }
            objectName: action.objectName + "_button"
            action: modelData
        }
    }

That ugly construction is currently needed to make the keyboard
navigation with arrow keys work. It would not be needed when StyledItem
supports the cursor key navigation.

** Changed in: ubuntu-ui-toolkit (Ubuntu)
   Importance: Undecided => High

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1573616

Title:
  ListView keyboard navigation focus using arrow keys only works with
  ListItem as a delegate

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

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to