Important: Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct
QSlider Vertical - Start scrolling from Top
Trying on ubuntu with Vertical QSlider. I would like to have QSlider to start scrolling from top. QSlider handle starts from bottom. How can we make the slider handle to start from top ?
I'm displaying the data in QTableView. I would like to remove the scrollbar and add my own Qslider. This slider always starts from bottom irrespective of setmax, set position etc. I have already tried with following
slider.setValue(100); slider.setMaximum(100); slider.setSliderPosition(100);
All this works If I use the QSlider without TableView. If attach the slider as part of QTableView, slider handle is always in the bottom.
Vinod Kuntoji last edited by
It will make the slider handle to start from top.