texstudio
texstudio copied to clipboard
How to change the color of the scroll bar for the texstudio editor?
Hi,
The default color of the scroll bar for the texstudio editor is using a very similar color with the scroll column in which the bar resided. This let me so difficult to find the location of scroll bar.
So, I want to change the scroll bar into some color which is very different with the scroll column. Any hints for doing this?
Regards
Do you mean
I mean change the color of the scroll-bar-click-button on the above right highlight region so that the the button is not have a very similar color as the highlight region.
To be more specifically, when a tex source file is very long, you will see a scroll-bar-click-button, which can be used to scroll up/down the tex source file when clicked on and hold up the mouse on it. But the issue is this button has a very similar color with the region it located and thus difficult to find it.
Regards
Hongyi Zhao [email protected]
You mean this bottom, but at the upper right corner of editor area?
Could you please tell me how to upload the sreenshot? I'll let you see it.
Regards
Just paste from the clipboard (CTRL+V)
@timhoffm OMG! Thanks a lot.
See the red circle marked by me on the screenshot, you should see a little slider button there when the tex file is very long. And you can use mouse to drop up/down that button to quickly browse through the tex file.
txs supports automatically loading stylesheets. It needs to placed in the config directory (where texstudio.ini is located) as stylesheet.qss. For details on stylesheets, see qt documentation or qt example ('Qt/Examples/Qt-5.14.1/widgets/widgets/stylesheet/qss') With stylesheets you have a lot on influence on the colorscheme and sizes of elements.
You have to add an stylesheet.qss file in the directory where your texstudio.ini is (in debian: ~/.config/texstudio/ ). Here you'll find examples and how to proceed: https://doc.qt.io/qt-5/stylesheet-examples.html#customizing-qscrollbar