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. Problem with scroll bars in Qml TableView
QtWS25 Last Chance

Problem with scroll bars in Qml TableView

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

    Hello
    I am using Qml Tableview and I am facing one problem here.
    The scroll bars of tableview gets into auto-hidden mode on Windows 10 systems. While hovering on the scroll bar location they appear that also so small that hardly gets visible. On Windows 7 systems, it is showing properly.
    I am facing same problem with Listview scroll bars also.

    Can anyone help me in the matter?

    TableView {
            id: table
            frameVisible: true
            anchors.fill: parent
            sortIndicatorColumn: -1
            sortIndicatorOrder: Qt.AscendingOrder
            sortIndicatorVisible: true
            model: SortFilterProxyModel{
                id: proxyModel
                source: resultModel
                sortCaseSensitivity: Qt.CaseInsensitive
                filterCaseSensitivity: Qt.CaseInsensitive
                dynamicSortFilter: true
                sortRole: table.getColumn(table.sortIndicatorColumn).role
                filterRole: table.getColumn(table.sortIndicatorColumn).role
                filterSyntax: SortFilterProxyModel.RegExp
                sortOrder: table.sortIndicatorOrder
                filterString: ""
                sortColumn: table.sortIndicatorColumn
    
                TableViewColumn {
                id: time
                title: "Time"
                role: "time"
                movable: true
                resizable: true
                width: table.viewport.width/9
            }
    
            TableViewColumn {
                id: network
                title: "Network"
                role: "network"
                movable: true
                resizable: true
                width: table.viewport.width/7
               }
            }
    
    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