mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-11 05:33:33 +00:00
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:
parent
5c141d8734
commit
6185e5a857
@ -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) {
|
||||||
|
Loading…
Reference in New Issue
Block a user