Skip to content

Commit

Permalink
UI|Home: Adjusted layout and appearance of the Data Files settings
Browse files Browse the repository at this point in the history
  • Loading branch information
skyjake committed Mar 9, 2017
1 parent a44ebd4 commit 0eee653
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
Expand Up @@ -56,12 +56,13 @@ DataFileSettingsDialog::DataFileSettingsDialog(String const &name)
//dlg->message().setText(QObject::tr("The following folders are searched for game data files:"));

d->iwadGroup = addGroup(tr("IWAD Folders"),
tr("The following folders are searched for game IWAD files:"));
tr("The following folders are searched for game IWAD files. "
"Only these folders are checked, not their subfolders."));
setValue(d->iwadGroup, d->iwadFolders.value());

d->pkgGroup = addGroup(tr("Add-on and Package Folders"),
tr("The following folders and all their subfolders are searched "
"for resource packs and other add-ons:"));
"for resource packs and other add-ons."));
setValue(d->pkgGroup, d->pkgFolders.value());

connect(this, &DirectoryListDialog::arrayChanged, [this] ()
Expand Down
3 changes: 3 additions & 0 deletions doomsday/sdk/libappfw/src/dialogs/directorylistdialog.cpp
Expand Up @@ -59,6 +59,9 @@ DENG2_PIMPL(DirectoryListDialog)

self().area().add(group->description = new LabelWidget);
group->description->setText(description);
group->description->setFont("small");
group->description->setTextColor("altaccent");
group->description->margins().setTop("").setBottom("");
group->description->setMaximumTextWidth(self().area().rule().width() -
self().margins().width());
group->description->setTextLineAlignment(ui::AlignLeft);
Expand Down

0 comments on commit 0eee653

Please sign in to comment.