1
0
mirror of https://github.com/clementine-player/Clementine synced 2025-01-31 19:45:31 +01:00

Use a smaller default font size in the song and artist info panes

This commit is contained in:
David Sansome 2010-10-10 17:00:03 +00:00
parent 2aa20d3dee
commit 996f77580e

View File

@ -24,6 +24,10 @@ AutoSizedTextEdit::AutoSizedTextEdit(QWidget* parent)
{ {
setHorizontalScrollBarPolicy(Qt::ScrollBarAlwaysOff); setHorizontalScrollBarPolicy(Qt::ScrollBarAlwaysOff);
setVerticalScrollBarPolicy(Qt::ScrollBarAlwaysOff); setVerticalScrollBarPolicy(Qt::ScrollBarAlwaysOff);
QFont f(font());
f.setPointSizeF(8.5);
document()->setDefaultFont(f);
} }
void AutoSizedTextEdit::resizeEvent(QResizeEvent* e) { void AutoSizedTextEdit::resizeEvent(QResizeEvent* e) {