Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. QML and Qt Quick
  4. listview currentItem issue++
Forum Updated to NodeBB v4.3 + New Features

listview currentItem issue++

Scheduled Pinned Locked Moved QML and Qt Quick
listview
1 Posts 1 Posters 495 Views 3 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.
  • L Offline
    L Offline
    literA2
    wrote on last edited by literA2
    #1

    hi,

    I would like to ask what to do with my issues:

    1. I have a ListView of different qml pages, in horizontal orientation. After changing the screen orientation from landscape to portrait, it scrolled to the next page (currentIndex increments). I already set the highlightRangeMode into ListView.StrictlyEnforceRange but still experiencing this issue. I am thinking this is due to change of width, wherein the width (in landscape mode) overlaps the next delegate item content while changing into portrait mode. Am I correct?

    2. Another thing is, any advise on how to set a smooth transition when changing screen orientation? Because I have this issue wherein the page will retain first the width and height of the previous mode for half a second before filling the current width and height.

    Thanks in advance!

    1 Reply Last reply
    1

    • Login

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