Skip to content
Snippets Groups Projects
Commit f52e1887 authored by con's avatar con
Browse files

Move active target name neatly to the middle.

parent aa094ee8
No related branches found
No related tags found
No related merge requests found
...@@ -161,7 +161,7 @@ void TargetSelector::paintEvent(QPaintEvent *event) ...@@ -161,7 +161,7 @@ void TargetSelector::paintEvent(QPaintEvent *event)
targetName = QChar('*') + target.name + QChar('*'); targetName = QChar('*') + target.name + QChar('*');
else else
targetName = target.name; targetName = target.name;
p.drawText(x + (TARGET_WIDTH - fm.width(target.name))/2 + 1, 7 + fm.ascent(), p.drawText(x + (TARGET_WIDTH - fm.width(targetName))/2 + 1, 7 + fm.ascent(),
targetName); targetName);
x += TARGET_WIDTH; x += TARGET_WIDTH;
p.drawLine(x, 1, x, TARGET_HEIGHT); p.drawLine(x, 1, x, TARGET_HEIGHT);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment