forked from qt-creator/qt-creator
Flat theme: Same disabled color all side/tool/status bar icons
And adapting darkframe.creatortheme accordingly to match Diana's specification Change-Id: I9e1f62869ff91d7cfd3a26f51d26225d549a0965 Reviewed-by: Alessandro Portale <alessandro.portale@theqtcompany.com>
This commit is contained in:
@@ -7,7 +7,7 @@ shadowBackground=ff404244
|
|||||||
text=ff000000
|
text=ff000000
|
||||||
textDisabled=55000000
|
textDisabled=55000000
|
||||||
toolBarItem=b6fbfdff
|
toolBarItem=b6fbfdff
|
||||||
toolBarItemDisabled=88a4a6a8
|
toolBarItemDisabled=60a4a6a8
|
||||||
hoverBackground=22ffffff
|
hoverBackground=22ffffff
|
||||||
selectedBackground=66000000
|
selectedBackground=66000000
|
||||||
normalBackground=ffffffff
|
normalBackground=ffffffff
|
||||||
|
|||||||
@@ -329,7 +329,7 @@ void FancyTabBar::paintTab(QPainter *painter, int tabIndex) const
|
|||||||
painter->restore();
|
painter->restore();
|
||||||
}
|
}
|
||||||
|
|
||||||
if (!enabled)
|
if (!enabled && creatorTheme()->widgetStyle() == Theme::StyleDefault)
|
||||||
painter->setOpacity(0.7);
|
painter->setOpacity(0.7);
|
||||||
|
|
||||||
if (drawIcon) {
|
if (drawIcon) {
|
||||||
|
|||||||
Reference in New Issue
Block a user