]> git.sesse.net Git - kdenlive/blobdiff - src/projectlist.h
Make it easier to see the job related thumbnail overlays
[kdenlive] / src / projectlist.h
index d203c1951b5b66df71842c23be8db950783583d9..f172206c680b5fc63c844efb0aa39bc567b183ae 100644 (file)
@@ -156,7 +156,7 @@ public:
                     painter->setPen(Qt::NoPen);
                     color.setAlpha(180);
                     painter->setBrush(QBrush(color));
-                    QRect progress(pixmapPoint.x() + 1, pixmapPoint.y() + pixmap.height() - 5, pixmap.width() - 2, 4);
+                    QRect progress(pixmapPoint.x() + 1, pixmapPoint.y() + pixmap.height() - 9, pixmap.width() - 2, 8);
                     painter->drawRect(progress);
                     painter->setBrush(option.palette.text());
                     if (jobProgress > 0) {
@@ -179,7 +179,7 @@ public:
                         painter->setBrush(option.palette.highlight());
                         painter->drawRoundedRect(txtBounding, 2, 2);
                         painter->setPen(option.palette.highlightedText().color());
-                        painter->drawText(txtBounding, Qt::AlignHCenter | Qt::AlignVCenter , jobText);
+                        painter->drawText(txtBounding, Qt::AlignCenter, jobText);
                     }
                 }
             }