Issue
I'm using a QTextEdit widget in my python GUI - designed with PyQt4. The vertical scrollbar appears as soon as the text doesn't fit anymore in the QTextEdit widget. But the scrollbar itself is so small (high dpi screen). How can I enlarge the scrollbar, such that clicking and dragging it gets more user friendly?
Thank you so much.
Solution
I was able to get this to work using:
QScrollBar::handle:vertical { min-height : 16px; }
I was trying to display over 40000 lines in a QTextEdit
and the scroll bar kept getting too small to even see. I struggled to get this working for hours, but this was the solution for me. I hope this helps.
Answered By - Que
0 comments:
Post a Comment
Note: Only a member of this blog may post a comment.