Improve sidebar readability on mac

Slightly increased the font size. Added a bit
more shadow and tweaked the progress bar.
This commit is contained in:
Jens Bache-Wiig
2010-02-26 16:12:10 +01:00
parent db599cd7eb
commit 7bd076e4f0
4 changed files with 7 additions and 6 deletions

View File

@@ -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);