Skip to content
Snippets Groups Projects
Commit 1f6949c1 authored by dt's avatar dt
Browse files

Fixes off by one pixel drawing in Build Issues

Task-Nr: QTCREATORBUG-1445
parent 91093805
No related branches found
No related tags found
No related merge requests found
......@@ -879,7 +879,7 @@ void TaskDelegate::paint(QPainter *painter, const QStyleOptionViewItem &option,
painter->drawText(22, 2 + opt.rect.top() + fm.ascent(), bottom);
if (fm.width(bottom) > width) {
// draw a gradient to mask the text
int gwidth = opt.rect.right() - width;
int gwidth = opt.rect.right() + 1 - width;
QLinearGradient lg(QPoint(width, 0), QPoint(width+gwidth, 0));
QColor c = backgroundColor;
c.setAlpha(0);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment