Skip to content

Commit 612ba58

Browse files
author
KhalilSelyan
committed
chore: update steering wheel font size and wheel icon center is bigger
Signed-off-by: KhalilSelyan <khalil@leodrive.ai>
1 parent 61a1859 commit 612ba58

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed
Loading

Diff for: common/autoware_overlay_rviz_plugin/autoware_overlay_rviz_plugin/src/steering_wheel_display.cpp

+2-2
Original file line numberDiff line numberDiff line change
@@ -108,11 +108,11 @@ void SteeringWheelDisplay::drawSteeringWheel(
108108
QString steeringAngleString = QString::fromStdString(steering_angle_ss.str());
109109

110110
// Draw the steering angle text
111-
QFont steeringFont("Quicksand", 9, QFont::Bold);
111+
QFont steeringFont("Quicksand", 8, QFont::Bold);
112112
painter.setFont(steeringFont);
113113
painter.setPen(QColor(0, 0, 0, 255));
114114
QRect steeringRect(
115-
wheelCenterX - wheelImage.width() / 2, wheelCenterY - wheelImage.height() / 2,
115+
wheelCenterX - wheelImage.width() / 2 + 1, wheelCenterY - wheelImage.height() / 2,
116116
wheelImage.width(), wheelImage.height());
117117
painter.drawText(steeringRect, Qt::AlignCenter, steeringAngleString);
118118
}

0 commit comments

Comments
 (0)