I'm having a QTableWidget with more than 5000 datas. Now i need to increase the width of verti开发者_运维百科cal scrollbar associated with the QTableWidget. Can somebody help me?
You can do that with a style sheet:
myTableWidget->verticalScrollBar()->setStyleSheet(
    "QScrollBar:vertical { width: 100px; }");
See also Customizing QScrollBar
Another option is to add following code in style sheet
QSrcollBar::vertical{width:50px;}
 
         
                                         
                                         
                                         
                                        ![Interactive visualization of a graph in python [closed]](https://www.devze.com/res/2023/04-10/09/92d32fe8c0d22fb96bd6f6e8b7d1f457.gif) 
                                         
                                         
                                         
                                         加载中,请稍侯......
 加载中,请稍侯......
      
精彩评论