forked from qt-creator/qt-creator
QmlProfiler: Remover "rubber" behavior for horizontal Flickable.
By overflicking you could reduce the selected range and implicitly zoom in. That seemed wrong. The rubber effect doesn't serve a real purpose on desktop applications anyway. Task-number: QTCREATORBUG-10864 Change-Id: Id4d6107e23c184621c5fcce21bf042e6ed4bd8e6 Reviewed-by: Kai Koehne <kai.koehne@digia.com>
This commit is contained in:
@@ -330,6 +330,7 @@ Rectangle {
|
|||||||
contentWidth: 0
|
contentWidth: 0
|
||||||
height: labels.height + labelsTail.height
|
height: labels.height + labelsTail.height
|
||||||
flickableDirection: Flickable.HorizontalFlick
|
flickableDirection: Flickable.HorizontalFlick
|
||||||
|
boundsBehavior: Flickable.StopAtBounds
|
||||||
|
|
||||||
onContentXChanged: view.updateZoomControl()
|
onContentXChanged: view.updateZoomControl()
|
||||||
clip:true
|
clip:true
|
||||||
|
|||||||
Reference in New Issue
Block a user