Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Mobile and Embedded
  4. Qt Embedded 4.7.1 QAbstractItemView::PositionAtCenter Strictly Enforce Range
Forum Updated to NodeBB v4.3 + New Features

Qt Embedded 4.7.1 QAbstractItemView::PositionAtCenter Strictly Enforce Range

Scheduled Pinned Locked Moved Mobile and Embedded
1 Posts 1 Posters 1.6k Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • A Offline
    A Offline
    apap_
    wrote on last edited by
    #1

    Hi,

    When using QListView::scrollTo(index, QAbstractItemView::PositionAtCenter) I would like that focus stays strictly at center (even if it causes blank when coming to list extremities) . When scrolling comes to first (or last) items, the focus doesn't stay at center it moves to top (or bottom) of the list.

    This can be done in QML with ListView property => highlightRangeMode: "StrictlyEnforceRange"
    Is there a similar property available in Qt ?

    1 Reply Last reply
    0

    • Login

    • Login or register to search.
    • First post
      Last post
    0
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Get Qt Extensions
    • Unsolved