Debug window should have fixed widht font

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@32666 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
Pavel Sanda 2009-12-28 22:02:41 +00:00
parent 5c141d8734
commit 6185e5a857

View File

@ -12,6 +12,7 @@
#include <config.h> #include <config.h>
#include "GuiProgressView.h" #include "GuiProgressView.h"
#include "GuiApplication.h"
#include "qt_helpers.h" #include "qt_helpers.h"
@ -44,6 +45,12 @@ GuiProgressView::GuiProgressView(GuiView & parent, Qt::DockWidgetArea area,
widget_ = new ProgressViewWidget(); widget_ = new ProgressViewWidget();
setWidget(widget_); setWidget(widget_);
QFont font(guiApp->typewriterFontName());
font.setKerning(false);
font.setFixedPitch(true);
font.setStyleHint(QFont::TypeWriter);
widget_->outTE->setFont(font);
GuiProgress* progress = dynamic_cast<GuiProgress*>(support::ProgressInterface::instance()); GuiProgress* progress = dynamic_cast<GuiProgress*>(support::ProgressInterface::instance());
if (progress) { if (progress) {