Increase lock info rect height
Prevent clipping of lock information by adding 10px of vertical space
This commit is contained in:
parent
16d1d8d73d
commit
6f453717ad
|
|
@ -311,7 +311,7 @@ void CustomWidget::drawStatusInfo(QPainter &painter)
|
||||||
void CustomWidget::drawLockInfo(QPainter &painter)
|
void CustomWidget::drawLockInfo(QPainter &painter)
|
||||||
{
|
{
|
||||||
QFont infoFont = painter.font();
|
QFont infoFont = painter.font();
|
||||||
QRect lockInfoRect(10, 180, 350, 110);
|
QRect lockInfoRect(10, 180, 350, 120);
|
||||||
painter.fillRect(lockInfoRect, QColor(60, 0, 60, 180));
|
painter.fillRect(lockInfoRect, QColor(60, 0, 60, 180));
|
||||||
|
|
||||||
painter.setPen(QColor(255, 200, 255));
|
painter.setPen(QColor(255, 200, 255));
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue