From 2d3e3c8a30523b08b10e29af21f6002f28883404 Mon Sep 17 00:00:00 2001 From: Simon Rit Date: Mon, 13 Feb 2012 14:26:03 +0100 Subject: [PATCH] Change font of matrix to typewriter type --- vv/qt_ui/vvInfoPanel.ui | 6 ++++++ vv/vvInfoPanel.cxx | 3 +++ 2 files changed, 9 insertions(+) diff --git a/vv/qt_ui/vvInfoPanel.ui b/vv/qt_ui/vvInfoPanel.ui index 440b539..17d4e8f 100644 --- a/vv/qt_ui/vvInfoPanel.ui +++ b/vv/qt_ui/vvInfoPanel.ui @@ -362,6 +362,12 @@ p, li { white-space: pre-wrap; } 0 + + + Monospace + 8 + + diff --git a/vv/vvInfoPanel.cxx b/vv/vvInfoPanel.cxx index e8d3ba8..9aa3e57 100644 --- a/vv/vvInfoPanel.cxx +++ b/vv/vvInfoPanel.cxx @@ -29,6 +29,9 @@ vvInfoPanel::vvInfoPanel(QWidget * parent):QWidget(parent) #if CLITK_MEMORY_INFO==0 memoryUsageLabel->hide(); #endif + QFont font = transformationLabel->font(); + font.setStyleHint(QFont::TypeWriter); + transformationLabel->setFont(font); } //------------------------------------------------------------------------------ -- 2.45.1