Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我需要设置QTextEdit滑块的宽度。怎么变大?我在 Windows 上使用最新版本的 qt。
QTextEdit
使用样式表。
myTextEdit->setStyleSheet("QScrollBar:vertical {width: 20px;}")