History

UI alignment changes

Mohammed Nafees committed 12 years ago

Commit eae95a51 parent 1ecdec75 files · +81 −54Browse files

Showing the changes to interface/src/ui/ScriptsTableWidget.cpp (1 of 5 files). Show all

Unified · Split

interface/src/ui/ScriptsTableWidget.cpp+2−2
@@ -28,11 +28,11 @@ ScriptsTableWidget::ScriptsTableWidget(QWidget *parent) : · 27 unmodified lines
28void ScriptsTableWidget::paintEvent(QPaintEvent *event)28void 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();