diff --git a/NEWS.md b/NEWS.md index f90c9420..c8bc1883 100644 --- a/NEWS.md +++ b/NEWS.md @@ -2,7 +2,7 @@ Version 0.6.8 - enhancement: add link to cppreference in the help menu - fix: add mutex lock to prevent editor crash in rare conditions - fix: In the create project dialog, the browser button doesn't work - - change: use QStyle to implement the dark style + - enhancement: use QStyle to implement the dark style, and better control of the style's look and feel Version 0.6.7 - fix: messages send to the gdb process's standard error are not received diff --git a/RedPandaIDE/mainwindow.ui b/RedPandaIDE/mainwindow.ui index 145ceccf..0797d2fb 100644 --- a/RedPandaIDE/mainwindow.ui +++ b/RedPandaIDE/mainwindow.ui @@ -283,7 +283,7 @@ QTabWidget::South - 2 + 0 diff --git a/RedPandaIDE/widgets/darkfusionstyle.cpp b/RedPandaIDE/widgets/darkfusionstyle.cpp index 962c1070..06beab32 100644 --- a/RedPandaIDE/widgets/darkfusionstyle.cpp +++ b/RedPandaIDE/widgets/darkfusionstyle.cpp @@ -709,7 +709,7 @@ void DarkFusionStyle::drawPrimitive(PrimitiveElement elem, const QStyleOption *o QLinearGradient gradient = qt_fusion_gradient(rect, (isEnabled && option->state & State_MouseOver ) ? buttonColor : buttonColor.darker(104)); p->setPen(Qt::transparent); - p->setBrush(isDown ? QBrush(buttonColor.darker(110)) : gradient); + p->setBrush(isDown ? QBrush(buttonColor.lighter(250)) : gradient); p->drawRoundedRect(r, 2.0, 2.0); p->setBrush(Qt::NoBrush);