Vertical Sliders have incorrect tick marks
-
Vertical sliders don't appear to render their tick marks correctly. The below code has 11 ticks for the horizontal slider and six for the vertical.
import QtQuick 2.4 import QtQuick.Controls 1.3 ApplicationWindow { width: 640 height: 480 visible: true Slider { x:100; y: 100 height: 30 width: 200 stepSize: 10 minimumValue: 0 maximumValue: 100 tickmarksEnabled: true orientation: Qt.Horizontal } Slider { x:100; y: 200 height: 200 width: 30 stepSize: 10 minimumValue: 0 maximumValue: 100 tickmarksEnabled: true orientation: Qt.Vertical } }
-
Looks like you have found a bug in the Slider implementation.
If you change a width for the vertical slider to 50 or more then you will see all 10 ticks.
I would suggest to open a bug on https://bugreports.qt.io/If you will open bug then please post a link from bugreports here.
-
Bug report: https://bugreports.qt.io/browse/QTBUG-45007