Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. General and Desktop
  4. BusyIndicator in ListView Bug?

BusyIndicator in ListView Bug?

Scheduled Pinned Locked Moved Unsolved General and Desktop
1 Posts 1 Posters 348 Views
  • 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.
  • D Offline
    D Offline
    Dev1337
    wrote on last edited by Dev1337
    #1

    Hello there guys,

    I got a strange thing going on in my ListView.
    When the Item is Created the first time the BusyIndicator works normaly.
    But if i flick the View and Scroll down and go up again the BusyIndicator is spinning and flickering like a flashlight.

    Am i doing something wrong ?
    I tryied it in a Loader but same problem again.

    this is my Code:

    import QtQuick 2.7
    import QtQuick.Layouts 1.3
    import QtQuick.Controls 2.0
    import QtQuick.Controls.Material 2.0
    import QtQuick.Controls.Universal 2.0

    ListView {
    id: listViewOne
    width: page.width
    height: page.height
    topMargin: 10
    model: 10
    spacing: 10

    delegate: FeedItem {
    width: listViewOne.width

            BusyIndicator {
                id: busyIndicator
                anchors.centerIn: parent
                running: true
                width: 100
                height: 100
                Material.theme: Material.Dark
                Material.primary: "#FFFFFF"
                Material.accent: "#FFFFFF"
            }
        }
    

    }

    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