Commit 4a2e9fa3 authored by Jens Bache-Wiig's avatar Jens Bache-Wiig
Browse files

More fixes for scrollbar

parent 8e49aa64
No related merge requests found
Showing with 3 additions and 2 deletions
......@@ -16,6 +16,8 @@ Item {
height: orientation == Qt.Horizontal ? internal.scrollbarExtent : 200
onValueChanged: internal.updateHandle()
// onMaximumValueChanged: internal.updateHandle()
// onMinimumValueChanged: internal.updateHandle()
MouseArea {
id: internal
......@@ -90,7 +92,7 @@ Item {
enabled: parent.enabled
}
property variant handleRect
property variant handleRect: Qt.rect(0,0,0,0)
function updateHandle() {
internal.handleRect = styleitem.subControlRect("handle")
var grooveRect = styleitem.subControlRect("groove");
......
......@@ -118,7 +118,6 @@ Item {
Text {
clip:true;
property string varname: headermodel.get(index).label
onVarnameChanged:print(varname)
text: flickrmodel.get(rowIndex)[varname];
width: headermodel.get(index).width
}
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment