mirror of
https://github.com/jankae/LibreVNA.git
synced 2026-04-04 14:07:30 +00:00
Add preference option for trace line width
This commit is contained in:
parent
45cf2200b8
commit
aba0650d25
5 changed files with 23 additions and 4 deletions
|
|
@ -186,7 +186,7 @@ void TraceSmithChart::draw(QPainter &p) {
|
|||
// trace marked invisible
|
||||
continue;
|
||||
}
|
||||
pen = QPen(trace->color(), 1);
|
||||
pen = QPen(trace->color(), pref.Graphs.lineWidth);
|
||||
pen.setCosmetic(true);
|
||||
p.setPen(pen);
|
||||
int nPoints = trace->size();
|
||||
|
|
|
|||
|
|
@ -457,7 +457,7 @@ void TraceXYPlot::draw(QPainter &p)
|
|||
if(!t->isVisible()) {
|
||||
continue;
|
||||
}
|
||||
pen = QPen(t->color(), 1);
|
||||
pen = QPen(t->color(), pref.Graphs.lineWidth);
|
||||
pen.setCosmetic(true);
|
||||
if(i == 1) {
|
||||
pen.setStyle(Qt::DotLine);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue