Showing the changes to interface/src/ui/ScriptsTableWidget.cpp (1 of 5 files). Show all
Unified · Split
| @@ -28,11 +28,11 @@ ScriptsTableWidget::ScriptsTableWidget(QWidget *parent) : · 27 unmodified lines | |||
| 28 | void ScriptsTableWidget::paintEvent(QPaintEvent *event) | 28 | void ScriptsTableWidget::paintEvent(QPaintEvent *event) |
| 29 | { | 29 | { |
| 30 | QPainter painter(viewport()); | 30 | QPainter painter(viewport()); |
| 31 | painter.setPen(QColor::fromRgb(225, 225, 225)); | 31 | painter.setPen(QColor::fromRgb(225, 225, 225)); // #e1e1e1 |
| 32 | 32 | ||
| 33 | int y = 0; | 33 | int y = 0; |
| 34 | for (int i = 0; i < rowCount(); ++i) { | 34 | for (int i = 0; i < rowCount(); ++i) { |
| 35 | painter.drawLine(6, rowHeight(i) + y, width(), rowHeight(i) + y); | 35 | painter.drawLine(5, rowHeight(i) + y, width(), rowHeight(i) + y); |
| 36 | y += rowHeight(i); | 36 | y += rowHeight(i); |
| 37 | } | 37 | } |
| 38 | painter.end(); | 38 | painter.end(); |