1
0
Fork 0
forked from len0rd/rockbox

Theme Editor: Changed default font to monospaced, changed organization for the application to rockbox.org, moved tab bar in preferences dialog to the top of the window

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@26677 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
Robert Bieber 2010-06-07 22:35:32 +00:00
parent 42b065f04a
commit 24647bace9
4 changed files with 14 additions and 6 deletions

View file

@ -151,7 +151,9 @@ void SkinDocument::settingsChanged()
errorColor.setProperty(QTextFormat::FullWidthSelection, true);
/* Setting the font */
QFont family = settings.value("fontFamily", QFont()).value<QFont>();
QFont def("Monospace");
def.setStyleHint(QFont::TypeWriter);
QFont family = settings.value("fontFamily", def).value<QFont>();
family.setPointSize(settings.value("fontSize", 12).toInt());
editor->setFont(family);