forked from osmocom/wireshark
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:
parent
68fafcf43f
commit
b28cd2dbd7
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue