forked from qt-creator/qt-creator
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:
@@ -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);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user