mirror of
https://gitlab.com/pholy/OSCAR-code.git
synced 2025-04-09 04:30:43 +00:00
More alignment stuff
This commit is contained in:
parent
25890a3be8
commit
96d51db7dc
@ -266,7 +266,7 @@ void gLineChart::paint(QPainter &painter, gGraph &w, const QRegion ®ion)
|
||||
|
||||
int wid, h;
|
||||
GetTextExtent(text, wid, h);
|
||||
w.renderText(text, left + width/2 - wid/2, top-h+4);
|
||||
w.renderText(text, left + width/2 - wid/2, top-h+7);
|
||||
}
|
||||
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user