mirror of
https://github.com/GoldenCheetah/GoldenCheetah.git
synced 2026-02-13 16:18:42 +00:00
UI Nits: Groove highlight line
Seriously OCD / attention to detail, adding the highlight line on the scope bar, icon bar and splitter handle. Most folks wouldn't even notice it.
This commit is contained in:
@@ -112,6 +112,10 @@ GcScopeBar::paintBackground(QPaintEvent *)
|
||||
painter.setPen(black);
|
||||
painter.drawLine(0,height()-1, width()-1, height()-1);
|
||||
|
||||
QPen gray(QColor(230,230,230));
|
||||
painter.setPen(gray);
|
||||
painter.drawLine(0,0, width()-1, 0);
|
||||
|
||||
painter.restore();
|
||||
}
|
||||
|
||||
|
||||
@@ -323,6 +323,11 @@ GcSplitterHandle::paintBackground(QPaintEvent *)
|
||||
QPen black(QColor(100,100,100,200));
|
||||
painter.setPen(black);
|
||||
painter.drawLine(0,height()-1, width()-1, height()-1);
|
||||
|
||||
QPen gray(QColor(230,230,230));
|
||||
painter.setPen(gray);
|
||||
painter.drawLine(0,0, width()-1, 0);
|
||||
|
||||
painter.restore();
|
||||
}
|
||||
|
||||
@@ -396,6 +401,10 @@ GcSplitterControl::paintBackground(QPaintEvent *)
|
||||
linearGradient.setSpread(QGradient::PadSpread);
|
||||
painter.setPen(Qt::NoPen);
|
||||
painter.fillRect(all, linearGradient);
|
||||
QPen gray(QColor(230,230,230));
|
||||
painter.setPen(gray);
|
||||
painter.drawLine(0,0, width()-1, 0);
|
||||
|
||||
}
|
||||
|
||||
void
|
||||
|
||||
Reference in New Issue
Block a user