diff --git a/src/libs/utils/stylehelper.cpp b/src/libs/utils/stylehelper.cpp index 3f0d0df87e824bb8d80f9f279385f3532a3ba6e0..01c9f6869e2571007fbb76cf00241021bb194a8c 100644 --- a/src/libs/utils/stylehelper.cpp +++ b/src/libs/utils/stylehelper.cpp @@ -69,7 +69,7 @@ QColor StyleHelper::mergedColors(const QColor &colorA, const QColor &colorB, int qreal StyleHelper::sidebarFontSize() { #if defined(Q_WS_MAC) - return 9; + return 10; #else return 7.5; #endif diff --git a/src/plugins/coreplugin/fancyactionbar.cpp b/src/plugins/coreplugin/fancyactionbar.cpp index 66f8a819b63b17da28378d1568d514fe411c65e5..92288c6e0fe18de85bf03e2f0ae7461ad593ddd5 100644 --- a/src/plugins/coreplugin/fancyactionbar.cpp +++ b/src/plugins/coreplugin/fancyactionbar.cpp @@ -176,7 +176,7 @@ void FancyToolButton::paintEvent(QPaintEvent *event) painter.drawText(r, textFlags, ellidedBuildConfiguration); QStyleOption opt; opt.initFrom(this); - opt.rect = rect().adjusted(rect().width() - 18, 0, -10, 0); + opt.rect = rect().adjusted(rect().width() - 16, 0, -8, 0); Utils::StyleHelper::drawArrow(QStyle::PE_IndicatorArrowRight, &painter, &opt); } diff --git a/src/plugins/coreplugin/fancytabwidget.cpp b/src/plugins/coreplugin/fancytabwidget.cpp index 5f68401be0f3c023ee8596ca11521faf12a9e2fa..5679b91e9fe9f5aa2c125de97655348f6456004f 100644 --- a/src/plugins/coreplugin/fancytabwidget.cpp +++ b/src/plugins/coreplugin/fancytabwidget.cpp @@ -270,7 +270,7 @@ void FancyTabBar::paintTab(QPainter *painter, int tabIndex) const boldFont.setPointSizeF(Utils::StyleHelper::sidebarFontSize()); boldFont.setBold(true); painter->setFont(boldFont); - painter->setPen(selected ? QColor(255, 255, 255, 160) : QColor(30, 30, 30, 80)); + painter->setPen(selected ? QColor(255, 255, 255, 160) : QColor(0, 0, 0, 110)); int textFlags = Qt::AlignCenter | Qt::AlignBottom | Qt::ElideRight | Qt::TextWordWrap; if (enabled) { painter->drawText(tabTextRect, textFlags, tabText); diff --git a/src/plugins/coreplugin/progressmanager/progressbar.cpp b/src/plugins/coreplugin/progressmanager/progressbar.cpp index e2439ab802c19da011fc82edeb96c14f732c7f07..a09bd4af8a31ceabf6a8a17864e2c03cfb1723d1 100644 --- a/src/plugins/coreplugin/progressmanager/progressbar.cpp +++ b/src/plugins/coreplugin/progressmanager/progressbar.cpp @@ -168,7 +168,7 @@ void ProgressBar::paintEvent(QPaintEvent *) QRect textRect = rect().adjusted(INDENT + 1, 1, -INDENT - 1, 0); textRect.setHeight(h+5); - p.setPen(QColor(30, 30, 30, 80)); + p.setPen(QColor(0, 0, 0, 120)); p.drawText(textRect, alignment | Qt::AlignBottom, m_title); p.translate(0, -1); p.setPen(Utils::StyleHelper::panelTextColor()); @@ -213,10 +213,11 @@ void ProgressBar::paintEvent(QPaintEvent *) p.setBrush(grad); p.drawRect(inner); p.setBrush(Qt::NoBrush); - p.setPen(QPen(QColor(0, 0, 0, 60), 1)); + p.setPen(QPen(QColor(0, 0, 0, 30), 1)); p.drawLine(inner.topLeft(), inner.topRight()); p.drawLine(inner.topLeft(), inner.bottomLeft()); p.drawLine(inner.topRight(), inner.bottomRight()); + p.drawLine(inner.bottomLeft(), inner.bottomRight()); p.drawPoint(inner.bottomLeft()); p.drawPoint(inner.bottomRight()); @@ -224,7 +225,7 @@ void ProgressBar::paintEvent(QPaintEvent *) if (value() < maximum() && !m_error) { QRect parentRect = parentWidget()->rect(); // ### Move to parent QRect cancelRect(parentRect.right() - CANCEL_WIDTH - 2, - parentRect.top() + 5, CANCEL_WIDTH, CANCEL_WIDTH); + parentRect.top() + 4, CANCEL_WIDTH, CANCEL_WIDTH); bool hover = cancelRect.contains(mapFromGlobal(QCursor::pos())); p.setPen(QPen(QColor(0, 0, 0, 20), 4));