From e0018b23aa65a9be9903406bdcfc4c767cea2a27 Mon Sep 17 00:00:00 2001 From: Adam Honse Date: Fri, 20 Dec 2019 12:45:29 -0600 Subject: [PATCH] Use monospace font in system information box --- qt/OpenRGBSystemInfoPage.cpp | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/qt/OpenRGBSystemInfoPage.cpp b/qt/OpenRGBSystemInfoPage.cpp index 597aa7dc..e31b28a1 100644 --- a/qt/OpenRGBSystemInfoPage.cpp +++ b/qt/OpenRGBSystemInfoPage.cpp @@ -10,6 +10,13 @@ OpenRGBSystemInfoPage::OpenRGBSystemInfoPage(std::vector& { ui->setupUi(this); + /*-----------------------------------------------------*\ + | Use a monospace font for the text box | + \*-----------------------------------------------------*/ + QFont MonoFont("monospace"); + MonoFont.setStyleHint(QFont::Monospace); + ui->SMBusDataText->setFont(MonoFont); + /*-----------------------------------------------------*\ | Fill in the combo boxes with device information | \*-----------------------------------------------------*/