diff options
| author | 2011-03-18 17:46:14 -0400 | |
|---|---|---|
| committer | 2011-03-18 17:46:14 -0400 | |
| commit | ec016fc167fa3306e37090a337f7b40439c35b48 (patch) | |
| tree | c28039f1a566d58bc57c8837bb89d786647b2cc5 /NoteEditor.cpp | |
| parent | Revert "Attempt css instead of setfont." (diff) | |
| download | Author-ec016fc167fa3306e37090a337f7b40439c35b48.tar.xz Author-ec016fc167fa3306e37090a337f7b40439c35b48.zip | |
Revert 7c00afe0392728279e18baee30be63440c871c25 partially.
Diffstat (limited to 'NoteEditor.cpp')
| -rw-r--r-- | NoteEditor.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/NoteEditor.cpp b/NoteEditor.cpp index 8293d61..bddfd5c 100644 --- a/NoteEditor.cpp +++ b/NoteEditor.cpp @@ -17,7 +17,8 @@ NoteEditor::NoteEditor(const QString &title, QWidget *parent) : setUnifiedTitleAndToolBarOnMac(true); m_editor = new QTextEdit; - m_editor->setText("<h2>" + title + "</h2><p>" + tr("notes...") + "</p>"); + m_editor->setFontFamily("CMU Typewriter Text Variable Width"); + m_editor->setText("<h2><font face=\"CMU Typewriter Text Variable Width\">" + title + "</font></h2><p><font face=\"CMU Typewriter Text Variable Width\">" + tr("notes...") + "</font></p>"); setCentralWidget(m_editor); QDockWidget *sideInstructions = new QDockWidget(tr("Instructions")); |
