Qt: Word wrap static text preferences

The preferences static text may be too long for the preferences
dialog width, so set word wrap for this label.

Change-Id: I0828601b39a5e189de707087e317c598576fc3db
Reviewed-on: https://code.wireshark.org/review/17656
Petri-Dish: Stig Bjørlykke <stig@bjorlykke.org>
Tested-by: Petri Dish Buildbot <buildbot-no-reply@wireshark.org>
Reviewed-by: Stig Bjørlykke <stig@bjorlykke.org>
This commit is contained in:
Stig Bjørlykke 2016-09-12 10:53:16 +02:00
parent 68fafcf43f
commit b28cd2dbd7
1 changed files with 1 additions and 0 deletions

View File

@ -178,6 +178,7 @@ pref_show(pref_t *pref, gpointer layout_ptr)
{
QLabel *label = new QLabel(pref->title);
label->setToolTip(tooltip);
label->setWordWrap(true);
vb->addWidget(label);
break;
}