Use small, italic font, for help labels.

This commit is contained in:
Craig Drummond
2018-05-09 20:37:34 +01:00
parent 8141ef0a46
commit 9dd63be262
3 changed files with 9 additions and 0 deletions

View File

@@ -77,6 +77,9 @@ ApiKeysSettings::ApiKeysSettings(QWidget *p)
"with all Cantata users) has reached its monthly usage limit. To work-around this, you can register with a "
"service yourself, and configure Cantata to use your personal API key. This key may be entered below. For any "
"blank values below, Cantata will use its default key."), this);
QFont f(Utils::smallFont(label->font()));
f.setItalic(true);
label->setFont(f);
label->setWordWrap(true);
layout->addWidget(label);
layout->addItem(new QSpacerItem(spacing, spacing, QSizePolicy::Fixed, QSizePolicy::Fixed));

View File

@@ -250,6 +250,9 @@ CacheSettings::CacheSettings(QWidget *parent)
int col=0;
QLabel *label=new QLabel(tr("Cantata caches various pieces of information (covers, lyrics, etc). Below is a summary of Cantata's "
"current cache usage."), this);
QFont f(Utils::smallFont(label->font()));
f.setItalic(true);
label->setFont(f);
label->setWordWrap(true);
layout->addWidget(label, row++, col, 1, 2);
layout->addItem(new QSpacerItem(spacing, spacing, QSizePolicy::Fixed, QSizePolicy::Fixed), row++, 0);

View File

@@ -86,6 +86,9 @@ CustomActionsSettings::CustomActionsSettings(QWidget *parent)
layout->setMargin(0);
QLabel *label=new QLabel(tr("To have Cantata call external commands (e.g. to edit tags with another application), add an entry for the command below. When at least one command "
"command is defined, a 'Custom Actions' entry will be added to the context menus in the Library, Folders, and Playlists views."), this);
QFont f(Utils::smallFont(label->font()));
f.setItalic(true);
label->setFont(f);
label->setWordWrap(true);
layout->addWidget(label, 0, 0, 1, 2);
tree=new QTreeWidget(this);