Qt/MappingIndicator: Center trigger labels

This commit is contained in:
spycrab 2018-05-20 21:16:14 +02:00
parent b0b14853c4
commit b4f1c489a3
1 changed files with 4 additions and 4 deletions

View File

@ -264,10 +264,10 @@ void MappingIndicator::DrawMixedTriggers()
p.setBrush(Qt::black);
p.setPen(Qt::white);
p.drawText(width() * 0.225, 16, tr("L-Analog"));
p.drawText(width() * 0.8 + 16, 16, tr("L"));
p.drawText(width() * 0.225, 48, tr("R-Analog"));
p.drawText(width() * 0.8 + 16, 48, tr("R"));
p.drawText(width() * 0.225, 20, tr("L-Analog"));
p.drawText(width() * 0.8 + 16, 20, tr("L"));
p.drawText(width() * 0.225, 52, tr("R-Analog"));
p.drawText(width() * 0.8 + 16, 52, tr("R"));
}
void MappingIndicator::paintEvent(QPaintEvent*)