mirror of
https://github.com/CalcProgrammer1/OpenRGB.git
synced 2026-04-05 06:34:25 -04:00
WIP: Zone names displayed fine now, but off-center
This commit is contained in:
@@ -324,7 +324,7 @@ void DeviceView::paintEvent(QPaintEvent *event)
|
||||
{
|
||||
painter.setPen(palette().windowText().color());
|
||||
}
|
||||
painter.drawText(rect, Qt::AlignVCenter | Qt::AlignHCenter, QString(controller->zones[zone_idx].name.c_str()));
|
||||
painter.drawText(posx, posy + posh, QString(controller->zones[zone_idx].name.c_str()));
|
||||
}
|
||||
|
||||
/*-----------------------------------------------------*\
|
||||
|
||||
Reference in New Issue
Block a user