forked from qt-creator/qt-creator
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: Eike Ziller <eike.ziller@theqtcompany.com>
This commit is contained in:
committed by
Orgad Shaneh
parent
3397e1c89b
commit
b158b7e51d
@@ -619,6 +619,9 @@ void ManhattanStyle::drawControl(ControlElement element, const QStyleOption *opt
|
||||
|
||||
switch (element) {
|
||||
case CE_Splitter:
|
||||
if (creatorTheme()->widgetStyle() == Theme::StyleFlat)
|
||||
painter->fillRect(option->rect, creatorTheme()->color(Theme::BackgroundColorSelected));
|
||||
else
|
||||
painter->fillRect(option->rect, Utils::StyleHelper::borderColor());
|
||||
break;
|
||||
|
||||
|
Reference in New Issue
Block a user