Commit b158b7e5 authored by Orgad Shaneh's avatar Orgad Shaneh Committed by Orgad Shaneh

Theming: Use a lighter color for splitters in the dark theme

This is a workaround for 3.3. In master the splitter color (among some
other widgets) should have its own value.

Task-number: QTCREATORBUG-13768
Change-Id: I8456fba3866e4857985e07a4708333952512484d
Reviewed-by: default avatarEike Ziller <eike.ziller@theqtcompany.com>
parent 3397e1c8
......@@ -619,7 +619,10 @@ void ManhattanStyle::drawControl(ControlElement element, const QStyleOption *opt
switch (element) {
case CE_Splitter:
painter->fillRect(option->rect, Utils::StyleHelper::borderColor());
if (creatorTheme()->widgetStyle() == Theme::StyleFlat)
painter->fillRect(option->rect, creatorTheme()->color(Theme::BackgroundColorSelected));
else
painter->fillRect(option->rect, Utils::StyleHelper::borderColor());
break;
case CE_TabBarTabShape:
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment