Skip to content

Commit 39ab436

Browse files
committed
Shrink the stats overlay.
1 parent f4f5830 commit 39ab436

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

SerialPrograms/Source/CommonFramework/VideoPipeline/UI/VideoOverlayWidget.cpp

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -281,15 +281,15 @@ void VideoOverlayWidget::render_log(QPainter& painter){
281281
}
282282
}
283283
void VideoOverlayWidget::render_stats(QPainter& painter){
284-
const double TEXT_SIZE = 0.02;
285-
const double ROW_HEIGHT = 0.03;
284+
const double TEXT_SIZE = 0.018;
285+
const double ROW_HEIGHT = 0.025;
286286

287287
QColor box_color(10, 10, 10, 200);
288288
painter.setPen(box_color);
289289

290290
int width = this->width();
291291
int height = this->height();
292-
int start_x = (int)(width * 0.75);
292+
int start_x = (int)(width * 0.78);
293293

294294
std::vector<OverlayStatSnapshot> lines;
295295
for (const auto& stat : *m_stats){

0 commit comments

Comments
 (0)