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:
parent
2aa20d3dee
commit
996f77580e
@ -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) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user