Created
August 26, 2014 11:02
-
-
Save mrexodia/569b0d37757a892f91c9 to your computer and use it in GitHub Desktop.
nice scrollbars
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
//scrollbar style (http://img0.www.suckmypic.net/img/N/k/bmSkF3Jp/chrome_scrollbar.png) | |
horizontalScrollBar()->setStyleSheet("QScrollBar:horizontal{border:1px solid grey;background:#f1f1f1;height:10px}QScrollBar::handle:horizontal{background:#aaa;min-width:20px;margin:1px}QScrollBar::add-line:horizontal,QScrollBar::sub-line:horizontal{width:0;height:0}"); | |
verticalScrollBar()->setStyleSheet("QScrollBar:vertical{border:1px solid grey;background:#f1f1f1;width:10px}QScrollBar::handle:vertical{background:#aaa;min-height:20px;margin:1px}QScrollBar::add-line:vertical,QScrollBar::sub-line:vertical{width:0;height:0}"); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment