+ 1

QT Scrollbar question:

Does anyone know how to modify the handle size/height of a vertical scrollbar of a QTableWidget in QT? The function to use is not obvious to me from the QT documentation.

10th Dec 2019, 8:22 PM
Sonic
Sonic - avatar
3 Respostas
+ 2
You can use the stylesheet, either by using the form editor or programmatically, by calling setStyleSheet. I hope you remember your css. :) Scroll down to QScrollBar for an example: https://doc-snapshots.qt.io/4.8/stylesheet-examples.html More reference material: https://doc.qt.io/archives/qt-4.8/stylesheet-reference.html
10th Dec 2019, 9:36 PM
Dennis
Dennis - avatar
+ 2
The parameters area bit confusing.
6th Feb 2020, 12:00 PM
Sonic
Sonic - avatar
+ 2
I like how the stylesheets are like CSS though.
6th Feb 2020, 12:00 PM
Sonic
Sonic - avatar