Commit f52e1887 authored by con's avatar con
Browse files

Move active target name neatly to the middle.

parent aa094ee8
......@@ -161,7 +161,7 @@ void TargetSelector::paintEvent(QPaintEvent *event)
targetName = QChar('*') + target.name + QChar('*');
else
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);
x += TARGET_WIDTH;
p.drawLine(x, 1, x, TARGET_HEIGHT);
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment