handle size depending from the font

This commit is contained in:
Marco Martin 2011-11-21 16:17:31 +01:00
parent 7490a782ab
commit 1bae18f4ff

View File

@ -38,7 +38,7 @@ Item {
property bool animated: false property bool animated: false
property alias inverted: range.inverted property alias inverted: range.inverted
property bool updateValueWhileDragging: true property bool updateValueWhileDragging: true
property real handleSize: 22 property real handleSize: theme.defaultFont.mSize.height*1.3
// Convenience API // Convenience API
property bool _isVertical: orientation == Qt.Vertical property bool _isVertical: orientation == Qt.Vertical