android - Vertical ScrollBar override column qml -
default vertical scroll bar in tableview override last column in android environment not happened in window environment , linux environment.
so can tell me i'm wrong , how fix
tableview { id: list x: 0 y: 0 width: 910 height: 590 anchors.rightmargin: 102 highlightonfocus: true anchors.topmargin: 34 anchors.leftmargin: 0 anchors.top: parent.top anchors.right: parent.right anchors.left: parent.left verticalscrollbarpolicy :qt.scrollbaralwayson z: 1 tableviewcolumn { id:col1 movable : false role: "stt" title: "no." width: 100 } tableviewcolumn { id:col2 movable : false role: "title" title: "title" width: 400 } tableviewcolumn { id:col3 movable : false role: "author" title: "author" width:(list.width - col1.width -col2.width - 18) } tableviewcolumn { id: col4 movable : false role: "type" title: "type" visible: false } }
Comments
Post a Comment