Short version: For a higher contrast, you can set "PreferredStyles=Windows" in
the "[General]" section of your *.creatortheme file.
You can influence palette colors in the *.creatortheme files like this:
"PaletteButton" sets the QPalette::Button ColorRole for the whole application.
All other ColorRoles are mapped accordingly. Depending on the used QStyle,
despite its name PaletteButton also influences the scroll bar color (at least
this is the case with FusionStyle).
Which QStyle is used depends on the theme and OS. The theme may force the style
If you use HighDpi, FusionStyle is forced unless you are on macOS.
Von: Qt-creator <qt-creator-bounces+alessandro.portale=qt...@qt-project.org> im
Auftrag von Mike Jackson <imikejack...@gmail.com>
Gesendet: Dienstag, 29. November 2016 14:21:00
Betreff: Re: [Qt-creator] Adjusting colors in one of the Themes
Thanks but those are for the little highlight marks that appear in the
scroll bar. I want to change the color of either the scrollbar handle
itself or the scrollbar background. Those two are so close in contrast
that they are very hard to tell apart. It wonder if the scrollbar colors
are baked into the actual source code for QtCreator? Or maybe one of the
"Styles" that Qt supports on Windows?
Could a QtCreator developer maybe point to the place in the source code
where the styles and colors are initialized?
Michael A. Jackson
BlueQuartz Software, LLC
David Schulz wrote:
> Hi Mike,
> the color of the scrollbar highlights can be adjusted in the
> *.creatortheme files by changing the *_TextMarkColor and
> *_ScrollBarColor entries.
> On 28-Nov-16 16:40, Mike Jackson wrote:
>> I need to adjust the colors of the editor scrollbars in QtCreator as
>> the contrast between the scrollbar background and the scrollbar
>> "handle" is so light as to be indistinguishable for my "old" eyes to
>> see. I thought I had done this once before but maybe it was on Linux
>> and I just changed EVERY scrollbar in Unity. This is on Windows with
>> the latest QtCreator 4.1 or 4.2. I found the .qtcreatortheme file
>> which looks to be just a .ini formatted file. Looked through it but
>> did not find anything that jumped out at me as beings specifically for
>> scrollbar colors.
>> Thanks for any help
>> Mike Jackson
>> BlueQuartz Software
>> Qt-creator mailing list
> Qt-creator mailing list
Qt-creator mailing list
Qt-creator mailing list